Jump to content

Recommended Posts

Posted

So I followed this github and got pyrit installed and such as well as for using CUDA.
When I run 'pyrit list_cores' I see my Processors and my GPU, when I run 'pyrit benchmark' it works as well. Everything works EXCEPT the pyrit command.

pyrit -r path/to/.cap/file -i /path/to/dictionary attack_passthrough
Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+

Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 117, in initFromArgv
    func(self, **options)
  File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 160, in new_f
    import cpyrit.pckttools
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/pckttools.py", line 132, in <module>
    scapy.packet.bind_layers(scapy.layers.l2.EAPOL, EAPOL_Key, type=3)
AttributeError: 'module' object has no attribute 'EAPOL' 


I've even tried to import the dictionary to the database with 'pyrit -i /path/ro/dictionary import_passwords'. That works I get results with 'pyrit eval', but I get the same error when running the .cap file against attack_db with 'pyrit -r /path/to/dictionary attack_db'
I've also added an essid and ran it with that, im just running into the same error.

Posted

That github page scroll down. It answers your question. Scapy 2.0 is needed.

Posted
5 minutes ago, Bigbiz said:

That github page scroll down. It answers your question. Scapy 2.0 is needed.


That doesn't answer my question because I already have Scapy2.4.0 installed.

 

Posted

Wht os is this

Posted

Try to uninstall python2.7 and reinstall it.

Posted (edited)
1 hour ago, Bigbiz said:

Wht os is this

Kali

1 hour ago, Bigbiz said:

Try to uninstall python2.7 and reinstall it.


I'm using Python2.7.15rc1 - No idea how to uninstall/reinstall that

 

Edited by Exmix
Posted

Apt-get remove python2.7.1.

apt-get update && apt-get install python2.7.1

Posted
19 minutes ago, Bigbiz said:

Apt-get remove python2.7.1.

apt-get update && apt-get install python2.7.1

Not sure if thats right since when I do it tries to remove A LOT of other packages.

Posted

Will get reinstalled. 

Posted

Sorry that was a typo. If I do "apt-get remove python2.7.1" says "can't find any packed by glob 'python 2.7.1'" and can't find any packacges by regex 'python2.7.1'"

Posted

If u use kali just use pyrit. Is preinstalled?

Posted
6 hours ago, Bigbiz said:

If u use kali just use pyrit. Is preinstalled?

Yeah, Pyrit comes preinstalled, so I uninstalled it, and reinstalled it, nothing.

Uninstalled it and reinstalled from Github, nothing, same error.

Posted

?? Beats me

Posted

I uninstalled pyriit and was gonna reinstall but since I installed it from the github repo, there's no uninstall option so I have no idea how to remove it from my system and start over.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...