Kod:
## -*- coding: UTF-8 -*- ##
import requests
import socket
b = {"login.php" ,"admin.php" ,"wp-login.php"}
while(True):
print """
[1] for http protocol
[2] for ssl (https) protocol
"""
a = input("(1) or (2) ==>> ")
if a == 1:
print "http protocol is selected"
print "exp: xxxx.com"
url = raw_input("enter target domain: ")
for i in b:
fullurl = "http://" + url + "/" + i
r = requests.get(fullurl)
if r.status_code == 200:
print "Admin page has been found!! "
print fullurl
print "-" * 75
else:
print "couldn't found"
print "-" * 75
print fullurl kısmı programda çalışmıyor etki etmiyor. Bulduğu sayfayı bastıramıyorum.