I have installed Kali linux 1.6 32bit on a bootable usb drive. Carried out the instructions on blackmoreops website titled "cracking wifi wpa/wpa2 passwords using pyrit cowpatty in kali linux" whereby using wifite i imported the dictionary file needed for pyrit.
The below is what i got when i attempted to use the dictionary file on the essid
root@kali:/home/tim# pyrit -r hs/<<router>>.cap -i /home/<<has my name>>/wpa.lst attack_passthrough
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg
http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
Parsing file '<<router>>.cap' (1/1)...
Traceback (most recent call last):
File "/usr/bin/pyrit", line 6, in <module>
pyrit_cli.Pyrit_CLI().initFromArgv()
File "/usr/lib/pymodules/python2.7/pyrit_cli.py", line 115, in initFromArgv
func(self, **options)
File "/usr/lib/pymodules/python2.7/pyrit_cli.py", line 163, in new_f
f(*args, **kwds)
File "/usr/lib/pymodules/python2.7/pyrit_cli.py", line 912, in attack_passthrough
ap = self._fuzzyGetAP(self._getParser(capturefile), bssid, essid)
File "/usr/lib/pymodules/python2.7/pyrit_cli.py", line 179, in _getParser
parser.parse_pcapdevice(dev)
File "/usr/lib/pymodules/python2.7/cpyrit/pckttools.py", line 600, in parse_pcapdevice
for pckt in reader:
File "/usr/lib/pymodules/python2.7/cpyrit/pckttools.py", line 500, in next
pckt = self.read()
File "/usr/lib/pymodules/python2.7/cpyrit/pckttools.py", line 491, in read
pckt = self.datalink_handler(pckt_string)
File "/usr/lib/python2.7/dist-packages/scapy/base_classes.py", line 198, in __call__
i.__init__(*args, **kargs)
File "/usr/lib/python2.7/dist-packages/scapy/packet.py", line 80, in __init__
self.dissect(_pkt)
File "/usr/lib/python2.7/dist-packages/scapy/packet.py", line 575, in dissect
s = self.do_dissect(s)
File "/usr/lib/python2.7/dist-packages/scapy/packet.py", line 549, in do_dissect
s,fval = f.getfield(self, s)
File "/usr/lib/python2.7/dist-packages/scapy/layers/dot11.py", line 36, in getfield
return MACField.getfield(self, pkt, s)
File "/usr/lib/python2.7/dist-packages/scapy/fields.py", line 73, in getfield
return s[self.sz:], self.m2i(pkt, struct.unpack(self.fmt, s[:self.sz])[0])
struct.error: unpack requires a string argument of length 6
It ends with unpack requires a string argument of length 6?
I can paste in the rest, from beginning to end but its a lot of text so would only post if needed.