{"id":13845349,"url":"https://github.com/veerendra2/wifi-deauth-attack","last_synced_at":"2025-07-12T02:30:39.300Z","repository":{"id":46034658,"uuid":"75169609","full_name":"veerendra2/wifi-deauth-attack","owner":"veerendra2","description":"An automated script for deauthentication attack ","archived":true,"fork":false,"pushed_at":"2020-06-13T00:05:49.000Z","size":377,"stargazers_count":253,"open_issues_count":3,"forks_count":53,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-11-21T18:39:44.513Z","etag":null,"topics":["deauthentication-attack","python","scapy","sniffing"],"latest_commit_sha":null,"homepage":"https://veerendra2.github.io/wifi-deathentication-attack/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/veerendra2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.paypal.me/veerendra542"}},"created_at":"2016-11-30T09:02:29.000Z","updated_at":"2024-11-21T14:51:23.000Z","dependencies_parsed_at":"2022-07-18T22:18:50.494Z","dependency_job_id":null,"html_url":"https://github.com/veerendra2/wifi-deauth-attack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/veerendra2/wifi-deauth-attack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veerendra2%2Fwifi-deauth-attack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veerendra2%2Fwifi-deauth-attack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veerendra2%2Fwifi-deauth-attack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veerendra2%2Fwifi-deauth-attack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veerendra2","download_url":"https://codeload.github.com/veerendra2/wifi-deauth-attack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veerendra2%2Fwifi-deauth-attack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264925437,"owners_count":23684150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deauthentication-attack","python","scapy","sniffing"],"created_at":"2024-08-04T17:03:21.342Z","updated_at":"2025-07-12T02:30:38.708Z","avatar_url":"https://github.com/veerendra2.png","language":"Python","funding_links":["https://www.paypal.me/veerendra542"],"categories":["Python"],"sub_categories":[],"readme":"![Maintenance](https://img.shields.io/maintenance/no/2020)\n[![GitHub issues](https://img.shields.io/github/issues/veerendra2/wifi-deauth-attack.svg)](https://github.com/veerendra2/wifi-deauth-attack/issues)\n[![GitHub forks](https://img.shields.io/github/forks/veerendra2/wifi-deauth-attack.svg)](https://github.com/veerendra2/wifi-deauth-attack/network)\n[![GitHub stars](https://img.shields.io/github/stars/veerendra2/wifi-deauth-attack.svg)](https://github.com/veerendra2/wifi-deauth-attack/stargazers)\n[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/veerendra2/wifi-deauth-attack/master/LICENSE)\n[![Twitter](https://img.shields.io/twitter/url/https/github.com/veerendra2/wifi-deauth-attack.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:\u0026url=%5Bobject%20Object%5D)\n# Wifi Deauthentication Attack\nSends `deauth`(deauthentication) packets to wifi network which results network outage for connected devices. Uses `scapy` module to send `deauth` packets.\nKnow more about [Deauthentication Attack](https://en.wikipedia.org/wiki/Wi-Fi_deauthentication_attack)\n\n### Dependencies\n1. aircrack-ng.(I highly recommend to install latest version, from [source](https://www.aircrack-ng.org/downloads.html) to support more network drivers/cards.) \n   * `sudo apt-get install aircrack-ng -y`\n2. scapy\n   * `sudo apt-get install python-scapy -y`\n\n### How to run?\nWe can run in 2 ways:\n* `sudo python deauth.py` \n \n   It will automatically creates `mon0` with `airmon-ng start wlan0`(it wont create, if already exists) and sniffs the wifi  signal on that interface. After few seconds, it will displays the `SSID` and its `MAC` to choose.\n* `sudo python deauth.py -m XX:YY:AA:XX:YY:AA` \n   \n   MAC address as command line argument. In this case, there is no need to sniff wifi.\n\n### What's new in version 3.1\n* Daemonize the attack i.e performs attack in background\n* Compatable to new `airmon-ng` version\n* Able to detect different wireless interface name(like `wlp13s0`)\n* Kill daemon option\n* Now you can get wifi networks with [`iwlist`](https://linux.die.net/man/8/iwlist) tool (Relatively faster) \n### Usage\n```\nroot@ghost:/opt/scripts#./deauth.py -h\nusage: deauth.py [-h] [-d] [-c COUNT] [-m MAC] [-w] [-k] [-v]\n\nSends deauthentication packets to a wifi network which results network outage\nfor connected devices. [Coded by VEERENDRA KAKUMANU]\n\noptional arguments:\n  -h, --help  show this help message and exit\n  -d          Run as daemon\n  -c COUNT    Stops the monitoring after this count reachs. By default it is\n              2000\n  -m MAC      Sends deauth packets to this network\n  -w          Uses \"iwlist\" to get wifi hotspots list\n  -k          Kills \"Deauth Daemon\" if it is running\n  -v          show program's version number and exit\n```\n![In Action](https://raw.githubusercontent.com/veerendra2/wifi-deauth-attack/master/blog-image2.jpg)\n\n### FAQ\n* ##### What is the option `-c` \"COUNT\"?\n  \n  It is a threshold value to stop the \"monitoring\". The access point or wifi hotspot trasmits [beacon frames](https://en.wikipedia.org/wiki/Beacon_frame) periodically to announce it's presence. The beacon frame contains all the information about the network. Now, the script looks for these beacons and makes count. If the count reachs the limit, it will stops the monitoring.\n  * If you think, the monoring is taking to much time? then specify the count with less number(Default is 2000), but it may not get all wifi hotspots near to you. Because you are listening only few beacons\n\n* ##### What is the option `-w` \"Uses \"iwlist\" to get wifi hotspots list\"?\n\n  Script runs `iwlist wlan0 s` and gets wifi networks near to you\n\n* ##### What is the option `-d` \"Run as daemon\"?\n  \n  Script runs in background while attacking. (Use option `-k` to kill)\n\n### Known Issues\n* For some reasons, sometimes the script is not able to find all near wifi hotspots.(Use `-w` option)\n* If you try to attack on a wifi hotspot which is created by \"Android\" device, it won't work!.(May be it uses `802.11w`)\n* Don't run the script with `-w` continously twice or more, you may get below error. If this is the case, restart `network-manager`; `sudo service network-manager restart`\n  * `wlp13s0   Interface doesn't support scanning : Device or resource busy`\n\n#### Get it!\n`wget -qO deauth.py https://goo.gl/bnsV9C`\n\n### How to avoid Deauthentication attack?\nUse `802.11w` suppored routers. Know more about [802.11w](https://en.wikipedia.org/wiki/IEEE_802.11w-2009) and [read cisco document](http://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/5700/software/release/ios_xe_33/11rkw_DeploymentGuide/b_802point11rkw_deployment_guide_cisco_ios_xe_release33/b_802point11rkw_deployment_guide_cisco_ios_xe_release33_chapter_0100.pdf)\n\n#### NOTE: \nIn order to work deauthentication attack successful, you should near to the target network. The `deauth` packets should reach the connected devices of the target network(s)\n\n#### Blog: https://veerendra2.github.io/wifi-deathentication-attack/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveerendra2%2Fwifi-deauth-attack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveerendra2%2Fwifi-deauth-attack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveerendra2%2Fwifi-deauth-attack/lists"}