-
Notifications
You must be signed in to change notification settings - Fork 0
/
robots.py
87 lines (78 loc) · 2.18 KB
/
robots.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
"""
API count exceeded - Increase Quota with Membership
If you encounter an error (API count exceeded - Increase Quota with Membership) you need a VPN
creat by Amir Hossein Tadas & TAHA
instagram = Taha_t_80
"""
import requests
import sys
import time
from colorama import Fore
import os
search = ['robots.txt',
'search/',
'admin/',
'login/',
'sitemap.xml',
'sitemap2.xml',
'config.php',
'wp-login.php',
'log.txt',
'update.php',
'INSTALL.pgsql.txt',
'user/login/',
'INSTALL.txt',
'profiles/',
'scripts/',
'LICENSE.txt',
'CHANGELOG.txt',
'themes/',
'inculdes/',
'misc/',
'user/logout/',
'user/register/',
'cron.php',
'filter/tips/',
'comment/reply/',
'xmlrpc.php',
'modules/',
'install.php',
'MAINTAINERS.txt',
'user/password/',
'node/add/',
'INSTALL.sqlite.txt',
'UPGRADE.txt',
'INSTALL.mysql.txt']
def __start__():
try:
print(Fore.RED+" [!] Plase Enter WebSite Address ")
print(Fore.RED+"\n [!] for exampel : test.com\n")
url = input(Fore.RED+" ┌─["+Fore.LIGHTGREEN_EX+"tahat80"+Fore.BLUE+"/"+Fore.WHITE+"Robots_Scanner"+Fore.RED+"""]
└──╼ """+Fore.WHITE+">> ")
if 'http' in url:
pass
elif 'http' != url:
url = ('http://'+url)
for i in search:
time.sleep(0.1)
ur = (url+"/"+i)
reqs = requests.get(ur)
if reqs.status_code == 200 or reqs.status_code == 405:
print(Fore.GREEN+" [+] " + ur)
else:
print(Fore.RED+" [-] "+ur)
try:
input(Fore.RED+" [!] "+Fore.GREEN +
"Back To Again (Press Enter...) ")
except:
print("")
sys.exit()
except:
print("")
if __name__ == '__main__':
while True:
try:
os.system('cls')
except:
os.system('clear')
__start__()