C4l4M1TY / pyrit

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

Add resume-functionality #342

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I just have a suggestion.

Sometimes when you are dealing with huge word lists example 10GB. Pyrit crash 
not because of pyrit but because the computer got to hot or there was a ram 
issue ect. Let say that you where on Tried 996366 PMKs so far; and pyrit for 
some reason stops. well if pyrit could tell you that it stop somewhere around 
996366 next time you use pyrit you can start somewhere around there like for 
example 

pyrit -r capture.cap -i wordlist.txt -s 99600 attack_passthrough

this will just tell pyrit to start on line 99600 of my wordlist, that way i 
don't have to start again from the beginning. I know little about programing 
but i think this could work i might be wrong to if my understanding of the # of 
PMs are not the actual password of the line on the wordlist. It just need to 
display the PMKs all the time even if it crashes and just pick a line of the 
word-list to start from. Hope that this could be done and help other pyrit 
users if it works 

thank you lucas

Original issue reported on code.google.com by mannydia...@gmail.com on 14 Aug 2011 at 4:27

GoogleCodeExporter commented 8 years ago
should be done

Original comment by lukas.l...@gmail.com on 15 Aug 2011 at 7:20

GoogleCodeExporter commented 8 years ago
Nice, I like this. Can we output the progress to a separate text file and 
resume from that? This would be useful if you don't know where or when it 
crashed. Instead of the -s you can use -p to keep progress in a text file for a 
specific essid and wordlist. If the text file is empty start from the top if 
there is the output in the file read it and start from when it was left off. 
Only issues with this is if you are starting from when wordlist and resume with 
another, I can see some errors with that. 

Original comment by GrantWSa...@gmail.com on 15 Aug 2011 at 5:47

GoogleCodeExporter commented 8 years ago
yeah but because you are going to make all you wordlist into one,  then you 
wont have that problem, and if you start the process with another wordlist is a 
person fault not the program...just make your wordlist all into one and you can 
keep adding more words at the end of your wordlist and you wont have problem at 
all

Original comment by mannydia...@gmail.com on 15 Aug 2011 at 9:22

GoogleCodeExporter commented 8 years ago
I see your point but I have my word lists separated out. 1 small common list, 2 
medium sized alpha numeric, 3 large with special characters. I could combine 
them but I like to run through the smaller lists first with the more common 
passwords. Saves time on easy ones. 

Original comment by GrantWSa...@gmail.com on 20 Aug 2011 at 3:11

GoogleCodeExporter commented 8 years ago
If pyrit wasnt trying to preload the whole damn wordlist into memory it wouldnt 
be exhausting all the the ram, going into swap, and eventually resulting in a 
ramdump and complete crash, I think a resume option would be nice, but it would 
be nice to also have some kind of feature added to pyrit that did a systems 
overhead analysis and processed the wordlist to db export function in bursts 
according to available system resources.

Original comment by frozenpo...@aol.com on 24 Oct 2011 at 10:15

GoogleCodeExporter commented 8 years ago
I made the -s option for attack_passthrough.
Just replace the files in version 0.4.0.

Original comment by martinsj...@gmail.com on 6 Mar 2012 at 12:34

Attachments:

GoogleCodeExporter commented 8 years ago
Does not work on last build (r 308). Compiles ok, however when I try to run 
cracking process I get runtime error:

Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 117, in initFromArgv
    func(self, **options)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 166, in new_f
    f(*args, **kwds)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 925, in attack_passthrough
    crackers.append(cpyrit.pckttools.EAPOLCracker(auths[0]))
AttributeError: 'module' object has no attribute 'EAPOLCracker'

How about adapt Skipping option to the last build? I need it so much. Thanks!

Original comment by luk...@gmail.com on 9 Dec 2012 at 3:35

GoogleCodeExporter commented 8 years ago
Hi, I am very confused. Does the current 0.4.1 Dev has -s function?! Did martin 
made this function? Help!

Original comment by Aero.Win...@gmail.com on 15 Apr 2013 at 12:33

GoogleCodeExporter commented 8 years ago
Actually I received similar error except mine says no attribute 'CCMPCracker'...

Original comment by Aero.Win...@gmail.com on 15 Apr 2013 at 9:14

GoogleCodeExporter commented 8 years ago
I also tried rolling back to 0.4.0, no luck.

Original comment by Aero.Win...@gmail.com on 15 Apr 2013 at 9:18

GoogleCodeExporter commented 8 years ago
I wrote the function. Ask the owner to add it to the trunk.

Original comment by martinsj...@gmail.com on 15 Oct 2013 at 10:53