jmbrugge / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

Pyrit Exausts Available Swap and Crashes #362

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.root@host:/# pyrit -i /mnt/sambapc/Shared/Custom-WPA import_passwords
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Connecting to storage at 'mysql://10.10.1.105/pyrit'...  connected.
9600000 lines read (33127.6 lines/s)... Killed

What is the expected output? What do you see instead?
Pyrit should not exit with "Killed" because it doesnt use memory properly.

Pyrit shits all over itself when swap file is used up. Pyrit should know what 
the maximum overhead is and adjust on the fly to prevent this failure on 
machines with less resources.

What version of the product are you using? On what operating system?
Pyrit 0.4.1-dev (svn r308) 
Linux 2.6.38-11-generic-pae #50-Ubuntu 11 Desktop SMP Mon Sep 12 22:21:04 UTC 
2011  i386 GNU/Linux

Original issue reported on code.google.com by misterca...@aol.com on 24 Oct 2011 at 6:24

GoogleCodeExporter commented 9 years ago
I dont see why Pyrit needs to load the whole wordlist into memory before 
entering it into the sql server. Seems like a waste of resources to do it this 
way. No we dont live in a perfect world where everyone has 12GB of ram. Not yet.

Original comment by misterca...@aol.com on 24 Oct 2011 at 6:26