ronnieman / pyrit

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

Datalink-type 192 not supported by Scapy #340

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install pyrit on 64bit KDE Backtrack 5
2. pyrit -r Kismet.pcapdump -i /pentest/passwords/wordlists/darkc0de.lst -b 
MACADDY attack_passthrough
or 
pyrit -r Kismet-20110729-20-02-25-1.pcap analyze

The dumps are from kismet

3. Then I get the error 

What is the expected output? What do you see instead?
The program to start working. list_cores works and so does benchmark. I get 
this when I try and read the Kismet dump

What version of the product are you using? On what operating system?
SVN revision # 308

Please provide any additional information below.
Full error output:
pyrit -rKismet-20110729-20-02-25-1.pcap analyze
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Parsing file 'Kismet-20110729-20-02-25-1.pcap' (1/1)...
Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 117, in initFromArgv
    func(self, **options)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 165, in new_f
    f(*args, **kwds)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 449, in analyze
    parser = self._getParser(capturefile)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 180, in _getParser
    dev = cpyrit.pckttools.PcapDevice(capturefile)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/pckttools.py", line 491, in __init__
    self.open_offline(fname)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/pckttools.py", line 573, in open_offline
    self._setup()
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/pckttools.py", line 498, in _setup
    self.datalink)
ValueError: Datalink-type 192 not supported by Scapy

Let me know if I can give more info or anything like that. Thanks for the time 
and effort.

Original issue reported on code.google.com by vwyodap...@gmail.com on 5 Aug 2011 at 5:16

GoogleCodeExporter commented 8 years ago
in the error I posted above you will notice no error after -r in the error, 
same issue when properly spaced as well, just typed it to fast to get the 
reproduction. 

Original comment by vwyodap...@gmail.com on 5 Aug 2011 at 5:19

GoogleCodeExporter commented 8 years ago
I have this issue as well, only I have a 4-byte environment, not 8.

Original comment by michael....@gmail.com on 6 Jun 2012 at 6:07