전체 글(139)
-
[PWN] dreamhack - baby-bof
dreamhack begginer baby-bof 챌린지 writeup// gcc -o baby-bof baby-bof.c -fno-stack-protector -no-pie#include #include #include #include #include #include #include void proc_init (){ setvbuf (stdin, 0, 2, 0); setvbuf (stdout, 0, 2, 0); setvbuf (stderr, 0, 2, 0);}void win () { char flag[100] = {0,}; int fd; puts ("You mustn't be here! It's a vulnerability!"); fd = open ("./flag", O_RDONLY); re..
2024.09.05 -
[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