Favourite Reaver & Aircrack Script

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

  1. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member Admin Moderator VIP

    Joined:
    18 May 2012
    Messages:
    3,096
    Likes Received:
    1,195
    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:
    0
    Thanks for the work,

    it also helps me learn to write .sh myelf
     
Loading...
  • About Us

    We are a community mixed with professionals and beginners with an interest in wireless security, auditing and pentesting. Feel free to check out and upload resources.


    You can also find us on: Twitter and Facebook

  • Donate to Us

    Did you find our forums useful? Feel free to donate Bitcoin to us using the form below. Those who donate the equivlent of $10 USD or more will be upgraded to VIP membership. Don't have Bitcoin? Use your credit card to GO VIP here. Don't want to fork out some coin? There are other ways to GO VIP. Bitcoin: 1LMTGSoTyJWXuy2mQkHfgMzD7ez74x1Z8K