Full TX Power & Injection Test

Discussion in 'Scripts & Commands' started by Mr. Penguin, 19 Jul 2012.

  1. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member VIP Admin

    Joined:
    18 May 2012
    Messages:
    3,093
    Likes Received:
    1,268
    I created this script awhile back for myself. It will set the regulatory domain for your device (in my case an RTL8187L device) to illegal limits of 30dBm. This script also tests to see if injection is working. Enjoy:

    Code:
    Select All
    iw reg set BO iwconfig wlan1 txpower 30dbm sudo aireplay-ng -9 wlan1
    Note that if you download the attachment script that you might need to set permissions as 755 by chmod before you can run it as a script. E.g:

    Code:
    Select All
    sudo chmod 755 '/root/Desktop/Aircrack-ng-SCRIPTS/Test-Injection.sh'
     

    Attached Files:

    • Like Like x 3
  2. cristi_28

    cristi_28 Well-Known Member
    Dev Team VIP

    Joined:
    30 Oct 2012
    Messages:
    21
    Likes Received:
    22
    Code:
    Select All
    iw reg set BO iwconfig wlan0 txpower 30dbm sudo airmon-ng start wlan0 sudo aireplay-ng -9 mon0 sudo airmon-ng stop mon0 sleep 5
     
    • Like Like x 2
  3. vampiricbunny1800

    vampiricbunny1800 Well-Known Member
    Dev Team VIP

    Joined:
    8 Oct 2012
    Messages:
    242
    Likes Received:
    80
    whats the sleep 5 for ? and how do you set it back to lets say us ? ( would it be US ) ? because 30dbm is illegal here so it have to be a quick test
     
  4. cristi_28

    cristi_28 Well-Known Member
    Dev Team VIP

    Joined:
    30 Oct 2012
    Messages:
    21
    Likes Received:
    22
    Code:
    Select All
    #!/bin/sh # Test-Injection.sh # # # Created by Adrian on 7/12/11. # Modified by Adrian Woolley, DishingTech. All rights reserved. http://dishingtech.blogspot.com # This is a basic test to determine if you card successfully supports injection. Works if you see Injection is working! Network Scan script: http://pastebin.com/1qCm75yX: needs to be initiated first iw reg set BO iwconfig wlan0 txpower 30dbm sudo airmon-ng start wlan0 sudo aireplay-ng -9 mon0 sudo airmon-ng stop mon0 sleep 5
     
    • Like Like x 1

Share This Page

Loading...