Favourite Reaver & Aircrack Script

Discussion in 'Scripts & Commands' started by Mr. Penguin, 4 Jun 2012.

  1. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member VIP Admin

    Joined:
    18 May 2012
    Messages:
    3,093
    Likes Received:
    1,268
    Before I start with Reaver or aircrack-ng it is good to use the following commands. First I spoof my mac address, then I ensure that my device is not in use and change my TX power to my device using the CRDA regulatory domain code BO for Bolivia (Country List). Then I make sure injection is working, if it is not I make sure it is.

    #Change Mac Address
    Code:
    Select All
    sudo airmon-ng stop wlan0 sudo iwconfig wlan0 sudo ifconfig wlan0 down sudo macchanger --mac 00:11:22:33:44:55 wlan0 sudo ifconfig wlan0
    #Device Busy
    Code:
    Select All
    sudo iwconfig wlan0 sudo ifconfig wlan0 down sudo iwconfig wlan0 mode monitor sudo ifconfig wlan0 up sudo iwconfig wlan0 sudo airodump-ng wlan0 sleep 30
    Code:
    Select All
    dmesg| tail -20 sudo rmmod rtl8187 sudo rfkill block all sudo rfkill unblock all sudo modprobe rtl8187 sudo rfkill unblock all sudo ifconfig wlan0 up sudo airmon-ng start wlan0 sudo airmon-ng sudo airodump-ng mon0 sudo ifconfig wlan0 down sudo iwconfig wlan0 mode monitor sudo ifconfig wlan0 up sudo iwconfig wlan0 sudo aireplay-ng -9 wlan0
    #Change Txpower
    Code:
    Select All
    iw reg set BO iwconfig wlan0 txpower 30dbm
    #Test Injection
    Code:
    Select All
    sudo aireplay-ng -9 wlan0
     
    • Like Like x 3
  2. jp llamas

    jp llamas Member

    Joined:
    16 Mar 2014
    Messages:
    4
    Likes Received:
    1
    Thanks for the work,

    it also helps me learn to write .sh myelf
     

Share This Page

Loading...