You are not logged in.

#1 2012-05-25 12:53:04

Lockheed
Member
Registered: 2010-03-16
Posts: 1,524

Problems running wifite and pyrit

Problems running wifite and pyrit

I think it might be python-related, but I am not sure. Anyway, when I run wifite, select WiFi range etc, and click START, I get this:

[+] executing: .//usr/bin/wifite -i wlan0 -all -d none -wepw 10 -wpaw 5 -pps 500 xterm
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/bin/wifite", line 663, in doit
    subprocess.call(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
OSError: [Errno 2] No such file or directory

Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd844d88>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd845d40>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd845f80>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd845c20>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd846638>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method StringVar.__del__ of <Tkinter.StringVar instance at 0x7f91fd83be60>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd8458c0>> ignored
^CException RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd845518>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method StringVar.__del__ of <Tkinter.StringVar instance at 0x7f91fd844fc8>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd846200>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd8448c0>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0x7f91fd845e60>> ignored

And when I run pyrit on Arch on a handshake cap file captured by wifity on BT5, I am getting this:

Parsing file 'Livebox0ba0_00-19-70-58-49-05_1.cap' (1/1)...
Traceback (most recent call last):
  File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib/python2.7/site-packages/pyrit_cli.py", line 115, in initFromArgv
    func(self, **options)
  File "/usr/lib/python2.7/site-packages/pyrit_cli.py", line 163, in new_f
    f(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/pyrit_cli.py", line 912, in attack_passthrough
    ap = self._fuzzyGetAP(self._getParser(capturefile), bssid, essid)
  File "/usr/lib/python2.7/site-packages/pyrit_cli.py", line 179, in _getParser
    parser.parse_pcapdevice(dev)
  File "/usr/lib/python2.7/site-packages/cpyrit/pckttools.py", line 600, in parse_pcapdevice
    for pckt in reader:
  File "/usr/lib/python2.7/site-packages/cpyrit/pckttools.py", line 500, in next
    pckt = self.read()
  File "/usr/lib/python2.7/site-packages/cpyrit/pckttools.py", line 488, in read
    r = _cpyrit_cpu.PcapDevice.read(self)
IOError: libpcap-error while reading: truncated dump file; tried to read 230 captured bytes, only got 156

I am running Arch 64bit.

Offline

Board footer

Powered by FluxBB