Thursday, July 26, 2012

Fix aireplay can not change channel error

When i was using aireplay to spoof packet, i got one error:
aireplay-ng: Wouldn't false authenticate OR deauth = mon0 is on channel -1, but the AP uses channel 11
and airodump is:
airodump-ng: Fixed channel to -1 = fixed channel mon0: -1
So, i fixed it :D. This is instructor:

wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.5/compat-wireless-3.5-rc5-1.tar.bz2
tar -jxf compat-wireless-2010-10-16.tar.bz2 cd compat-wireless-2010-10-16
wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
patch ./net/wireless/chan.c channel-negative-one-maxim.patch
make
make install
make unload
reboot

After reboot, you can change mon0 interface channel: ( 1 to 11)
airmon-ng start wlan0 11

------------------------------------------------------------
Thanks for reading
--------------------------------------------------------------------------
Security Research
All my Lab:
Linux Lab -- window and Cisco Lab
to be continued - I will update more.  

No comments:

Install Xposed Inspector and Frida on Genymotion

Today i had some work with android. So i need trace application. I found 2 nice tool can help me: Xposed Inspector and Frida. To setup ther...