gadgetinventor / pyrit

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

Deleting resultsets aborted when pressing 'y' #313

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.pyrit check_db
2.pressing 'y' to delete resultsets
3.

What is the expected output? What do you see instead?
I expected it to delete the resultset but it aborted.

Connecting to storage at 'file:///media/mikes-5/pyrit_backup'...  connected.
Checking workunits...
yChecking results for ESSID '##'...
Checking results for ESSID '##'...
Checking results for ESSID '##'...
Checking results for ESSID 'NETGEAR'...
Error in results 58ba0b719f0a990b2ead241ab759ade9 for ESSID 'NETGEAR': Buffer 
too short
Checking results for ESSID '##'...
Checking results for ESSID '##'...

There have been 0 errors in workunits and 1 errors in resultsets. Your option 
now is to delete these entries from the database. Workunits are lost forever, 
resultsets can be recomputed.  Continue? [y/N] y
aborted.

What version of the product are you using? On what operating system?
Pyrit 0.4.1-dev (svn r308)
Backktrack 5

Please provide any additional information below.
This happened twice in a row.
The password DB has about 691 million passwords in it
some may be junk but I worked the hell out of them.
Very little crunch data in the DB

Original issue reported on code.google.com by mikecons...@gmail.com on 20 May 2011 at 10:48

GoogleCodeExporter commented 8 years ago
I did this again after rebooting a second time and its no longer an issue. I 
dont know what caused this but the rulesets deleted properly this time.

Sorry if I wasted any time

Original comment by mikecons...@gmail.com on 24 May 2011 at 2:27

GoogleCodeExporter commented 8 years ago
no problem. I couldnt figure out what causes the problem; the code around this 
place is very clear...

Original comment by lukas.l...@gmail.com on 24 May 2011 at 6:35