Skip to content

Instantly share code, notes, and snippets.

@0xPwny
Last active February 16, 2016 12:51
Show Gist options
  • Save 0xPwny/e2ffbec3c2660808c466 to your computer and use it in GitHub Desktop.
Save 0xPwny/e2ffbec3c2660808c466 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
import requests
import re
wordlist = open("/home/crypthon/Downloads/list.txt","rb").readlines() #http://pastebin.com/SjjiH2ua
for x in wordlist:
p = x.replace('\n','')
m = p.replace("\r","")
#for i in wordlist:
#wordlist = ['xx.php','login.php','php.ini','index.php','robots.txt','COPYRIGHT.txt','sep.php','hex.html']
url = "http://www.orlando-ticket-deals.co.uk/forums/challenge/%s" % m
x = requests.post(url)
xx = x.status_code
dd = x.text
if "Please Enter Your" in dd:
print "Not That ! => %s" % m
# elif xx == 404:
# print "Not Found !"
else:
print "Found it => %s " % m
#print ">>> %s >>> %s " % (xx,m)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment