Exmix Posted May 18, 2018 Share Posted May 18, 2018 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. Quote Link to comment Share on other sites More sharing options...
Bigbiz Posted May 19, 2018 Share Posted May 19, 2018 That github page scroll down. It answers your question. Scapy 2.0 is needed. Quote Link to comment Share on other sites More sharing options...
Exmix Posted May 19, 2018 Author Share Posted May 19, 2018 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. Quote Link to comment Share on other sites More sharing options...
Bigbiz Posted May 19, 2018 Share Posted May 19, 2018 Wht os is this Quote Link to comment Share on other sites More sharing options...
Bigbiz Posted May 19, 2018 Share Posted May 19, 2018 Try to uninstall python2.7 and reinstall it. Quote Link to comment Share on other sites More sharing options...
Exmix Posted May 19, 2018 Author Share Posted May 19, 2018 (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 May 19, 2018 by Exmix Quote Link to comment Share on other sites More sharing options...
Bigbiz Posted May 19, 2018 Share Posted May 19, 2018 Apt-get remove python2.7.1. apt-get update && apt-get install python2.7.1 Quote Link to comment Share on other sites More sharing options...
Exmix Posted May 19, 2018 Author Share Posted May 19, 2018 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. Quote Link to comment Share on other sites More sharing options...
Bigbiz Posted May 19, 2018 Share Posted May 19, 2018 Will get reinstalled. Quote Link to comment Share on other sites More sharing options...
Exmix Posted May 19, 2018 Author Share Posted May 19, 2018 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'" Quote Link to comment Share on other sites More sharing options...
Bigbiz Posted May 19, 2018 Share Posted May 19, 2018 If u use kali just use pyrit. Is preinstalled? Quote Link to comment Share on other sites More sharing options...
Exmix Posted May 19, 2018 Author Share Posted May 19, 2018 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. Quote Link to comment Share on other sites More sharing options...
Bigbiz Posted May 20, 2018 Share Posted May 20, 2018 https://packages.debian.org/source/jessie/pyrit Try this package. Quote Link to comment Share on other sites More sharing options...
Exmix Posted May 20, 2018 Author Share Posted May 20, 2018 29 minutes ago, Bigbiz said: https://packages.debian.org/source/jessie/pyrit Try this package. Tried that, still same error. Quote Link to comment Share on other sites More sharing options...
Bigbiz Posted May 20, 2018 Share Posted May 20, 2018 ?? Beats me Quote Link to comment Share on other sites More sharing options...
Exmix Posted May 20, 2018 Author Share Posted May 20, 2018 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.