View Single Post
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#64
Idk what this script does with monitormode but it FAILS hard! Couldn't understand where it goes south: When I put my wlan0 into monitor mode, check with airodump-ng: working

Then I run this script and I get the well known can't open *.csv
note: "*" can be changed inside the script, just like driver location and save location and some other variables

Code:
Scaning in progres... Please wait...

The following networks are available. Please note:
- Power field indicates signal level, the closer to 0 the better
- associated clent is required to crack WPA/WPA2, 'wordlist.txt' file is used for 
dictionary attack
cat: can't open 'scan-01.csv': No such file or directory
Enter number of the network to crack or '0' to rescan: ^C
Then I immediately run
Code:
sudo airodump-ng wlan0
Interface wlan0: 
ioctl(SIOCGIFINDEX) failed: No such device
DAFUQ, it made my wlan0 go south (or heaven) :O

It's not listed anymore in ifconfig & iwconfig too

Code:
sudo ifconfig wlan0
ifconfig: wlan0: error fetching interface information: Device not found
Need to use load.sh /unload.sh/insmod "wifimodules" again to make it re-appear.

This explains why no networks are listen and the error can't open *.csv

Simply because it fails to "see" wlan0 and can't dump the network list. (airodump-ng is used save the *.csv)

Code:
sudo airodump-ng -w $scanprefix --output-format csv $nic >>/dev/null 2>&1 &
Where $nic is defined as variable: wlan0

So tell me where it goes south as it looks normal but doesn't behave normal.
I tested all possible scenario's eg. busybox/bash, wlan0/mon0. This script just wouldn't run the way I wanted it to run.
Just my investigations, hope someone might fix this script for good.

Going back to wifite, beats all aircrack GUIs so far!
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following User Says Thank You to mr_pingu For This Useful Post: