icelon / pyrit

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

analyze corrupt - IndexError: Layer [Dot11Elt] not found #381

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Capture with airodump last svn
2. Pyrit analyze
3. pyrit -r WPA-01.cap analyze

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib/pymodules/python2.6/pyrit_cli.py", line 106, in initFromArgv
    func(self, **options)
  File "/usr/lib/pymodules/python2.6/pyrit_cli.py", line 143, in new_f
    f(*args, **kwds)
  File "/usr/lib/pymodules/python2.6/pyrit_cli.py", line 394, in stripLive
    parser.parse_file(capturefile)
  File "/usr/lib/pymodules/python2.6/cpyrit/pckttools.py", line 368, in parse_file
    self.parse_packet(pckt)
  File "/usr/lib/pymodules/python2.6/cpyrit/pckttools.py", line 381, in parse_packet
    self._add_ap(dot11_pckt.addr2, dot11_pckt)
  File "/usr/lib/pymodules/python2.6/cpyrit/pckttools.py", line 351, in _add_ap
    essid = self._find_ssid(pckt)
  File "/usr/lib/pymodules/python2.6/cpyrit/pckttools.py", line 343, in _find_ssid
    for elt_pckt in pckt.iterSubPackets(scapy.layers.dot11.Dot11Elt):
  File "/usr/lib/pymodules/python2.6/cpyrit/pckttools.py", line 87, in iterSubPackets
    elt = elt[cls:2]
  File "/usr/local/lib/python2.6/dist-packages/scapy/packet.py", line 758, in __getitem__
    raise IndexError("Layer [%s] not found" % lname)
IndexError: Layer [Dot11Elt] not found

What version of the product are you using? On what operating system?

Debian 6
Pyrit svn
Python 2.6
Aircrack svn

Please provide any additional information below.

When analyze or strip or stripLive

Original issue reported on code.google.com by julien.hautefeuille on 3 Feb 2012 at 12:54