Joshua1909 / eapeak

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

Stack trace when using EAPscan rev. 77:89ec58a24abb #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use an Alfa AWUS036H wireless card with rtl8187 drivers.
2. Use kismet to create a monitor mode interface, capture traffic, and lock the 
interface on a specific channel.
3. Run this command: 
# eapscan -b <BSSID> -e '<ESSID>' -i wlan0mon -c <channel #>

What is the expected output? What do you see instead?
Expected to see eapscan checking supported EAP types. Instead, I got the 
following stack trace:

[*] Checking Connection To APTraceback (most recent call last):
  File "/usr/local/bin/eapscan", line 295, in <module>
    main()
  File "/usr/local/bin/eapscan", line 277, in main
    if not check_ap_connection(options.iface, options.bssid, options.essid, False):
  File "/usr/local/bin/eapscan", line 189, in check_ap_connection
    errCode = statemachine.connect(essid)
  File "/usr/local/lib/python2.7/site-packages/eapeak/inject.py", line 303, in connect
    if self.lastpacket == None or self.lastpacket.getlayer('Dot11Auth').status != 0:
AttributeError: 'NoneType' object has no attribute 'status'

What version of the product are you using? On what operating system?
Python 2.7.1
EAPeak from source as of January 5, 2012 (eapscan v0.7)
Backtrack 4 R0

Please provide any additional information below.
Make and model, as well as the EAP configuration, of the AP that was being 
tested is unknown. 

Original issue reported on code.google.com by xja...@gmail.com on 17 Jan 2012 at 2:57

GoogleCodeExporter commented 9 years ago

Original comment by zeroStei...@gmail.com on 17 Jan 2012 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by zeroStei...@gmail.com on 17 Jan 2012 at 3:14

GoogleCodeExporter commented 9 years ago
Fixed in change set 79:a461dc2c8214, thanks for the bug report.

Original comment by zeroStei...@gmail.com on 19 Jan 2012 at 1:55

GoogleCodeExporter commented 9 years ago

Original comment by zeroStei...@gmail.com on 30 Jan 2012 at 10:18