hashcat Forum
Princeprocessor Resume - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat-utils, maskprocessor, statsprocessor, md5stress, wikistrip (https://hashcat.net/forum/forum-28.html)
+--- Thread: Princeprocessor Resume (/thread-7166.html)



Princeprocessor Resume - walterlacka - 01-04-2018

Looking at the --help for princeprocessor and trying to better understand the -s option.

Here's what I did:

I let pp run for a bit, then stopped it by ctrl-c

Ran this command:
Code:
cat pp.save
5436871275

Then I "resumed" pp by doing this:
Code:
./pp64.app --pw-min=15 --pw-max=15 --elem-cnt-min=6 --elem-cnt-max=6 -s=5436871275 < ./dict.txt | ../hashcat -m1000 -w3 -O -a 0 ../hashes.txt -r ../rules/test.rule

Then stopped it again by ctrl-c

Ran this command:
Code:
cat pp.save

106249462

I'm concerned that if I "resume" pp again using 106249462, I'll be doing work that I've already done (since that number is less than 5436871275)

Am I doing something wrong?


RE: Princeprocessor Resume - walterlacka - 01-06-2018

Does anyone know how this should work? Or maybe it's working correctly and I need to add up the "save" value in case I need to resume more than once.


RE: Princeprocessor Resume - royce - 01-07-2018

This should work, but I don't immediately see what might be different about your command line that would make the number go backwards. In my scripts that resume princeprocessor, the only thing that I see different is that I don't use the equals sign (so just "-s [number]").

EDIT: Yep - it's definitely the equals sign. Leave that out.
Code:
$ ./pp64.bin --pw-min=15 --pw-max=15 --elem-cnt-min=6 --elem-cnt-max=6 < /usr/share/dict/words >/dev/null
^C

$ cat pp.save
1248088626

$ ./pp64.bin --pw-min=15 --pw-max=15 --elem-cnt-min=6 --elem-cnt-max=6 -s `cat pp.save` < /usr/share/dict/words >/dev/null
^C

$ cat pp.save
2116886231

$ ./pp64.bin --pw-min=15 --pw-max=15 --elem-cnt-min=6 --elem-cnt-max=6 -s `cat pp.save` < /usr/share/dict/words >/dev/null

$ cat pp.save
3107208324

# Now with equals sign

$ ./pp64.bin --pw-min=15 --pw-max=15 --elem-cnt-min=6 --elem-cnt-max=6 -s=`cat pp.save` < /usr/share/dict/words >/dev/null
^C
$ cat pp.save
419049635
(Note that princeprocessor started over!)