Results 1 to 2 of 2

Thread: trying to play with pyrit having problems

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    42

    Default trying to play with pyrit having problems

    I installed cuda following the excellent howto guide by pureh@te in the howto section and whenever i try to crack a wpa password or use most commands it errors out and i can not figure it out ive tried looking around and havnt found anything on it here is a copy of the output i have recieved

    Code:
    root@bt:~# pyrit -e _vc98002 -i /pentest/passwords/wordlists/wpa.txt -r hack-02.cap attack_passthrough
    Pyrit 0.3.1-dev (svn r228) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+
    
    Parsing file 'hack-02.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.5/site-packages/pyrit_cli.py", line 106, in initFromArgv
        func(self, **options)
      File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 143, in new_f
        f(*args, **kwds)
      File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 635, in attack_passthrough
        ap = self._fuzzyGetAP(self._getParser(capturefile), bssid, essid)
      File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 158, in _getParser
        parser.parse_file(capturefile)
      File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 368, in parse_file
        self.parse_packet(pckt)
      File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 381, in parse_packet
        self._add_ap(dot11_pckt.addr2, dot11_pckt)
      File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 351, in _add_ap
        essid = self._find_ssid(pckt)
      File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 343, in _find_ssid
        for elt_pckt in pckt.iterSubPackets(scapy.layers.dot11.Dot11Elt):
      File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 87, in iterSubPackets
        elt = elt[cls:2]
      File "/usr/lib/python2.5/site-packages/scapy/packet.py", line 758, in __getitem__
        raise IndexError("Layer [%s] not found" % lname)
    IndexError: Layer [Dot11Elt] not found
    any help would be appreciated!
    -Wes-

  2. #2
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default Re: trying to play with pyrit having problems

    Try putting the essid in quotes like

    pyrit -e " _vc98002" -i /pentest/passwords/wordlists/wpa.txt -r hack-02.cap attack_passthrough

    Special chars are always a pain and need to be enclosed in " "

    The only other thing is to make sure you cap file is good. I sometimes have problems with pyrit if there is to much data in the file, stripping it may help

    Also make sure you are using bt4 final and that scapy2 is installed.
    Last edited by purehate; 04-08-2010 at 05:52 PM.

Similar Threads

  1. cannot play poker
    By b4cktr4ck in forum Beginners Forum
    Replies: 1
    Last Post: 03-26-2010, 05:29 AM
  2. Can't play video (error)
    By xewax in forum OLD Newbie Area
    Replies: 6
    Last Post: 01-06-2010, 10:58 AM
  3. Play .flv on Backtrack 3??
    By vincedu49 in forum OLD Newbie Area
    Replies: 11
    Last Post: 05-16-2009, 09:39 AM
  4. How do i Play DVD's in BT2?
    By default in forum OLD General IT Discussion
    Replies: 10
    Last Post: 12-04-2007, 04:27 PM
  5. Trying to play with WEP on a WAP11, but...
    By skiamakhe in forum OLD Newbie Area
    Replies: 4
    Last Post: 08-09-2007, 05:20 PM

Posting Permissions

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