Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3
- import requests, re
- pattern = re.compile("<span id='flag'>(.*?)<\/span",re.IGNORECASE)
- v=133
- flag = ''
- for i in range(881):
- url='https://128.199.88.182/calculate.php?step'+str(i)+'='+str(v)
- v = v + 2
- r = requests.get(url,verify=False)
- data = r.text
- match = re.findall(pattern,data)
- if match:
- flag += match[0]
- print(flag)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement