./templates/login_form.html try login. login ./app.py from flask import * app = Flask(__name__) @app.route('/')def login_form(): return render_template('login_form.html') @app.route('/login', methods = ['POST'])def login(): if request.method == 'POST': if(request.form['id'] == 'admin' and request.form['pw'] == 'admin123'): session['logged'] = True session['user'] = request.form['id'] return 'Hi,..
from PIL import Image width, height = (300, 300)x,y = (0,0) img = Image.open("D:/what.png")img2 = Image.new("RGB", (300,300), (0xff,0xff,0xff))pix = img.load() for x in range(0,300): for y in range(0,300): r = pix[x,y][0] g = pix[x,y][1] b = pix[x,y][2] if(r==g and g==b and(r==192 or r==0)): img2.putpixel( (x,y), (255,255,255) ) else: img2.putpixel( (x,y), (0,0,0) ) img2.save("D:/solve__.png","p..
import angr def main(): proj = angr.Project('./바이너리이름', load_options={"auto_load_libs": False}) # False써라. path_group = proj.factory.path_group() path_group.explore(find=FIND_ADDR, avoid=AVOID_ADDR) # find 목적 address , avoid 피할 address return path_group.found[0].state.posix.dumps(0).split('\0')[0] # stdin if __name__ == '__main__': print(main()) argv를 이용하는 바이너리-> import angrimport claripy proj =..
- rt_sigreturn
- srop
- ebp change
- pwable
- exit
- overflow
- fastbindup
- SQLi
- hacking
- stack reusing
- shellcoding
- glibc
- heap
- HackCTF
- oob
- TLS
- 본선가고싶다
- pwnable
- fastbin
- codegate
- tcache
- pwnable.tw
- FSB
- fsop
- 해킹
- Total
- Today
- Yesterday