-
Notifications
You must be signed in to change notification settings - Fork 2
/
exploit.py
68 lines (68 loc) · 2.48 KB
/
exploit.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
#!/usr/bin/python
import time
from colorama import Back,Fore,init
import requests
import os
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('-u','--url',type=str,help='Url For Pentesting')
urlarge = parser.parse_args()
init(autoreset=True)
print(Fore.GREEN + '''
------------------------------------------------------------------------
| ______ _____ _ _ _ __ __ __ _ |
| | ____| | __ \| | (_) | | \/ | / _(_) /\ |
| | |__ __ _| |__) | | ___ _| |_| \ / | __ _| |_ _ / \ |
| | __| \ \/ / ___/| |/ _ \| | __| |\/| |/ _` | _| | / /\ \ |
| | |____ > <| | | | (_) | | |_| | | | (_| | | | |/ ____ \ |
| |______/_/\_\_| |_|\___/|_|\__|_| |_|\__,_|_| |_/_/ \_\ |
| |
------------------------------------------------------------------------''')
time.sleep(2)
print(Fore.BLUE + '''
Codded By AkDevil Hunter
-: Team Pak Black Army :-
< https://facebook.com/PakBlackArmy />\n''')
def exploitmafia():
avatar = Fore.RED + "=> " + Fore.WHITE
geturl = urlarge.url
if geturl != '':
statuscode = requests.get(geturl).status_code
if statuscode != 200:
print(avatar + "Host Seems Down :(")
else:
print(avatar + "Host Is Active :)")
time.sleep(2)
print(avatar + "Starting Attack On " + geturl)
time.sleep(2)
print(avatar + "IP: " + Fore.RED)
os.system('dig +short ' + geturl)
time.sleep(1)
print(avatar + "Doing Additional Nslookup: ")
os.system('nslookup ' + geturl)
print(avatar + "Nslookup Scan Done!")
time.sleep(1)
print(avatar + "Scanning For Vulnerabilities:")
os.system('nikto -h ' + geturl)
print(avatar + "Scan Done!")
time.sleep(1)
print(avatar + "Enumerating Subdomains (" + Fore.RED + "Sublister" + Fore.WHITE + ") Is Required!")
os.system('cd Sublist3r && python sublist3r.py -d ' + geturl)
print(avatar + "Subdomains Scanned!")
time.sleep(1)
print(avatar + "Scanning For Admin Panel!")
os.system("cd AdminSnatcher && python3 adminsnatcher.py --url " + geturl)
print(avatar + "Admin Scan Done ^_^")
time.sleep(1)
print(avatar + "Doing More Recon!")
time.sleep(1)
os.system("recon-ng || echo 'recon-ng Not Found!'")
print(avatar + "Recon Done!")
time.sleep(1)
print(avatar + "Whole Scan Done!")
time.sleep(1)
print(avatar + "Bye!")
time.sleep(5)
else:
print("NULL Value Not Allowed! Go To Hell")
exploitmafia()