-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOnionAdmin.py
68 lines (60 loc) · 2.33 KB
/
OnionAdmin.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
#===================[Coded By OnionTM]===================
from os import system
from requests import get
from colorama import Fore
from time import sleep
from sys import argv
#===================[BANNER]===================
def SlowPrint(txt):
for x in txt:
print(x, end="", flush=True)
sleep(0.001)
print()
admin = get("https://raw.githubusercontent.com/the-c0d3r/admin-finder/master/wordlists/wordlist.txt").text.splitlines()
if len(argv) < 2:
print("""
/$$$$$$ /$$ /$$$$$$$$ /$$ /$$
/$$__ $$ |__/ |__ $$__/| $$$ /$$$
| $$ \ $$ /$$$$$$$ /$$ /$$$$$$ /$$$$$$$ | $$ | $$$$ /$$$$
| $$ | $$| $$__ $$| $$ /$$__ $$| $$__ $$| $$ | $$ $$/$$ $$
| $$ | $$| $$ \ $$| $$| $$ \ $$| $$ \ $$| $$ | $$ $$$| $$
| $$ | $$| $$ | $$| $$| $$ | $$| $$ | $$| $$ | $$\ $ | $$
| $$$$$$/| $$ | $$| $$| $$$$$$/| $$ | $$| $$ | $$ \/ | $$
\______/ |__/ |__/|__/ \______/ |__/ |__/|__/ |__/ |__/
[!] Onion AdminPanel Scanner
[!] Usage : python OnionAdmin.py <link>
""")
elif len(argv) == 2:
print("""
/$$$$$$ /$$ /$$$$$$$$ /$$ /$$
/$$__ $$ |__/ |__ $$__/| $$$ /$$$
| $$ \ $$ /$$$$$$$ /$$ /$$$$$$ /$$$$$$$ | $$ | $$$$ /$$$$
| $$ | $$| $$__ $$| $$ /$$__ $$| $$__ $$| $$ | $$ $$/$$ $$
| $$ | $$| $$ \ $$| $$| $$ \ $$| $$ \ $$| $$ | $$ $$$| $$
| $$ | $$| $$ | $$| $$| $$ | $$| $$ | $$| $$ | $$\ $ | $$
| $$$$$$/| $$ | $$| $$| $$$$$$/| $$ | $$| $$ | $$ \/ | $$
\______/ |__/ |__/|__/ \______/ |__/ |__/|__/ |__/ |__/
[!] Onion AdminPanel Scanner
[!] Coded By OnionTM
""")
#===================[CHECK]===================
for a in admin:
try:
url = str(argv[1])+str(a)
r = get(url)
if r.status_code == 200:
print(F"""
[+] FOUND
-------------------------------------------
URL : {str(argv[1])}
Admin Page : {url}
-------------------------------------------
""")
break
else:
print("[-] NOT FOUND : "+url)
except KeyboardInterrupt:
exit()
#==================[########]===================
# https://github.com/OnionTM
#==================[########]===================