Results 1 to 2 of 2

Thread: Trouble with wifite full log available upon request

  1. #1
    Join Date
    2014-Apr
    Posts
    3

    Trouble with wifite full log available upon request

    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.

  2. #2
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    Quote Originally Posted by Bish8 View Post
    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.
    hi if this can help you
    i'm not expert...but hs/ is a directory of your .cap file??? or have you problem with pyrit""installations""?
    i'm my kali seems worked-fine!
    http://www.imagestime.com/show.php/946383_pyr.PNG.html

    @click_ONTO_zoOM

Similar Threads

  1. Community Request
    By kaungthant in forum Community Feedback
    Replies: 0
    Last Post: 2020-02-25, 08:24
  2. [A request for a break]
    By Gina in forum Installing Archive
    Replies: 0
    Last Post: 2020-01-26, 21:54
  3. request for YU YUREKA
    By deepaks in forum Building NetHunter
    Replies: 2
    Last Post: 2015-03-30, 17:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •