0
I wonder how I give a request and look for a string, example: *www.site.com/index.php? id=' (Error SQL) (find the error) I’m just having trouble with it since it’s almost all set, so follow the code:
import os, socket, urllib2
os.system('clear')
while True:
url = raw_input("URL: ") #site para fazer o teste
with open('word') as wordlist: #abrindo a wordlist
lista = [linha.strip() for linha in wordlist] #passando a wordlist para lista
for list in lista:
url2 = url.replace(" ", list) #colocando os codigos na url get
url3 = urllib2.urlopen(url2).read()
cf = url3.text
if (cf.find("Mysql")==-1):
print "teste deu"
else:
print "n deu"
break