phenom1911 / autocrack

Automatically exported from code.google.com/p/autocrack
0 stars 0 forks source link

If a WiFi card is not able to go into monitor mode, program hangs indefinitely #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start scanning with a non-monitor mode enabled WiFi card
2. Watch as the program locks up indefinitely.
3. Cry. :*(

What is the expected output? What do you see instead?
I expected to see some sort of error message saying that the card cannot go 
into monitor mode. Instead, I got nothing and I wanted people to be aware of 
this.

What version of the product are you using? On what operating system?
autocrack3.4.sh on Backtrack 5r1 32bit

Please provide any additional information below.
I haven't done much testing otherwise, but I figured that the three netbooks I 
tried it on was enough.

Original issue reported on code.google.com by spokeh...@gmail.com on 19 Sep 2011 at 6:45

GoogleCodeExporter commented 9 years ago
Do something for me, on line 30 of the script there is a line of code that sais 
"set +v"

change that to "set -v", save, and run the script. You will see a bunch of 
output, just wait till it hangs again, or until enough time has elapsed to 
where it should have hung. and then copy and paste the entire output here. This 
will let me see what is going on. Please include how you ran the script in your 
copy-paste. 

Original comment by esmith2...@gmail.com on 20 Sep 2011 at 1:15

GoogleCodeExporter commented 9 years ago
It would also help me if you were to manually place your wifi card in to 
monitor mode, and post the output here for me, this will allow me to make a 
error handler for this error. 

Original comment by esmith2...@gmail.com on 20 Sep 2011 at 4:39

GoogleCodeExporter commented 9 years ago
That's the issue, this particular wifi card cannot go into monitor mode--at 
least not on BT5r1. This is a pretty new netbook, and it has a 802.11N card in 
it. I know they have spotty support as they are so new--but I was surprised 
that it just failed and didin't give an error of any kind.

It hangs on 'airmon-ng start wlan0' and never ends.

I will post where it hangs if you want.

Original comment by spokeh...@gmail.com on 20 Sep 2011 at 3:33

GoogleCodeExporter commented 9 years ago
So airmon-ng is what is hanging up my script? What happens when you just type 
in airmon-ng start wlan0?

Original comment by esmith2...@gmail.com on 20 Sep 2011 at 5:42

GoogleCodeExporter commented 9 years ago
airmon-ng is what is causing the issue, I now see. Maybe a timer that checks to 
see if 10 seconds has passed (no card has taken more than 5 seconds for me to 
initialize) and abort if no monitor mode driver is found?

Original comment by spokeh...@gmail.com on 20 Sep 2011 at 7:01

GoogleCodeExporter commented 9 years ago
A timer will be easy. My script uses airmon-ng twice - once to get a list of 
wifi cards and 2nd to start a wifi card. I need to know where to place the 
timer so i need to know when airmon hangs, is it only when it tries to start 
the card or does it hang when getting a list of wifi cards. 

Original comment by esmith2...@gmail.com on 20 Sep 2011 at 8:25

GoogleCodeExporter commented 9 years ago
bah, ill just throw a timer on both instances of airmon-ng. Ill mark this issue 
as invalid as it's not an issue with my script. But i will add a timer just for 
you :)

Original comment by esmith2...@gmail.com on 21 Sep 2011 at 12:02

GoogleCodeExporter commented 9 years ago
I think it's the first one, because it says the BSSID that I was
trying to crack, and then it locks up. I had this at work, but i left
early and coulden't update.

-- 
�I do not think there is any thrill that can go through the human
heart like that felt by the inventor as he sees some creation of the
brain unfolding to success... Such emotions make a man forget food,
sleep, friends, love, everything.� -- Nikola Tesla
"Nikola Tesla is the true unsung prophet of the electronic age;
without whom our radio, auto ignition, telephone, alternating current
power generation and transmission, radio and television would all have
been impossible." --�Ben Johnston

Original comment by spokeh...@gmail.com on 21 Sep 2011 at 12:04

GoogleCodeExporter commented 9 years ago
I changed the status because of your last post.

could you please copy and paste the programs output here, include how you 
started the program. If it sais its attacking something then its a diffrent 
problem 

Original comment by esmith2...@gmail.com on 22 Sep 2011 at 11:49

GoogleCodeExporter commented 9 years ago
Closing issue as the original problem has been fixed. 

Original comment by esmith2...@gmail.com on 9 Nov 2011 at 5:38