Pyrit icon indicating copy to clipboard operation
Pyrit copied to clipboard

attack_db freezes

Open vspitz opened this issue 6 years ago • 3 comments

After downgrading scapy and running wpaclean against my handshake file I was successfully able to analyze the .cap file. I was also able to successfully run the pyrit -r cap.cap attack_db. However, after checking 374175 PMKs about 3.9% it hangs. No matter how long I wait the attack doesn't complete.

Any suggestions?

vspitz avatar Aug 11 '18 04:08 vspitz

I have the same problem, seen as:

pyrit -r capture.cap -o outputfile attack_db 
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+

Connecting to storage at 'file://'...  connected.
Parsing file 'capture.cap' (1/1)...
Parsed 432 packets (432 802.11-packets), got 1 AP(s)

Picked AccessPoint XX:XX:XX:XX:XX:XX ('XXXXXX') automatically.
Attacking handshake with Station XX:XX:XX:XX:XX:XX ...
Tried 749766 PMKs so far (0.1%); 51255770 PMKs per second.
``

and nothing happens further, running "top" doesn't even show pyrit.

EDIT: Solved by editing ~/.pyrit/config and changing limit_ncpus from -1 to 0(making the cpu to work on the attack_db and not the gpu).

davidbalas123 avatar Aug 14 '18 18:08 davidbalas123

Why isn't Pyrit able to do this with GPU only?

Burgomatic avatar Mar 25 '19 17:03 Burgomatic

I have the same issue. Pyrit hasn't been working on GPU anymore. I can process a Batch with the GPU, but I can't attack the DB with a GPU. It freezes up about 2 seconds into the process. Even if the CPU's is a work around, its not worth it. The point of Pyrit is to utilize the power of a GPU. Aircrack-ng has updated to allow for multi-core CPU usage, and has proven faster than Pyrit on multi-core CPU usage. If you're sticking to CPU cracking, Aircrack-ng is your best bet. Either Pyrit or Kali has a bug that is causing the attack_db to freeze. I have not tested Pyrit on another distro other than Kali.

NamekianUnix avatar Jun 18 '19 13:06 NamekianUnix