Thursday, May 10, 2012

Useful Xiaopan OS Terminal Commands

You should check to see if injection is working and also change your MAC address in RootShell! Also if you ever need to su root the password is: xiaopan




Test Injection
aireplay-ng -9 wlan0


Device Busy
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


Network Scan
        sudo airodump-ng wlan0


Initiate Device (rtl8187L) 
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

        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


Macchanger
Enter the following commands


Device Details
ifconfig wlan0


Turn Off
ifconfig wlan0


macchanger -r wlan0 (-r means random) or

Specify a specific address. E.g:
macchanger -m b2:aa:0e:56:ed:f7 wlan0


Current MAC: 32:cf:cb:6c:63:cd (unknown)
Faked MAC:   b2:aa:0e:56:ed:f7 (unknown)


Turn On 
ifconfig wlan0 up


Test
ifconfig wlan0


Set TXpower
iwconfig wlan0 txpower 30dbm (use your rated device)

Blog Archive