전체 글(137)
-
[Write-up] Blackhat Mea 2024 - Watermelon
Blackhat Mea 2024 Quals에서 출제된 Watermelon 챌린지 Write upfrom flask import Flask, request, jsonify, session, send_filefrom functools import wrapsfrom flask_sqlalchemy import SQLAlchemyimport os, secretsfrom werkzeug.utils import secure_filenameapp = Flask(__name__)app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///db.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = Falseapp.config['SECRET_KEY'] = ..
2024.09.04 -
[Write-up] dreamhack - baby case
https://dreamhack.io/wargame/challenges/1401 baby-CaseDescription Bypass 👶filterdreamhack.io const express = require("express")const words = require("./ag")const app = express()const PORT = 3000app.use(express.urlencoded({ extended: true }))function search(words, leg) { return words.find(word => word.name === leg.toUpperCase())}app.get("/",(req, res)=>{ return res.send("hi guest")})app.po..
2024.09.02 -
백준[ALGORITHM] - 럭비 클럽 (2083)
lst = dict()while True: name, age, weight = map(str,input().split()) age = int(age) weight = int(weight) if name == '#': break if age >= 18 or weight >= 80: lst[name] = 'Senior' else: lst[name] = 'Junior'for key in lst.keys(): print(key, lst[key])
2024.08.04 -
백준[ALGORITHM] - 좌표 정렬하기 (11650)
n = int(input())temp = {}for _ in range(n): x, y = map(int, input().split()) if x not in temp: temp[x] = [y] else: temp[x].append(y) for key in temp: temp[key].sort()sorted_temp = {k: temp[k] for k in sorted(temp)}for key, value in sorted_temp.items(): for i in range(len(value)): print(key, value[i])
2024.07.18 -
[Write-up] Haf.world - Octopath Traveler
보호되어 있는 글입니다.
2024.07.04 -
백준 [ALGORITHM] - 블랙잭 (2798)
n, m = map(int, input().split())maximum = 0dack = list(map(int,input().split()))for i in range(n-2): for j in range(i+1, n-1): for k in range(j+1, n): if (dack[i] + dack[j] + dack[k]
2024.07.04