reading directories with dictionaries in combinator mode
#1
It seems that in combinator mode (-a 1), there's no possibility to specify whole directory, so hashcat will take all the dictionaries from it, one by one, the way it does in straight mode (-a 0)

Code:
oclHashcat-plus64.bin -a 1 -o md5.txt md5res.txt "/pwrecovery/_sorted/" "/pwrecovery/atomtest/found.exp.8.txt"

It gives the following:
Code:
oclHashcat-plus v0.07 by atom starting...

Scanned dictionary /pwrecovery/atomtest/found.exp.8.txt: 3073206 bytes, 455299 words, 455299 keyspace, starting attack...
Scanning dictionary /pwrecovery/_sorted/: 0 bytes (0.00%), 0 words, 0 keyspace

I think it will be good to grab all the dictionaries from the folder (or folders, if the second "dictionary" will be actually a directory too) and mix them sequentially.

P.S.: Offtopic, but somewhat related: I usually create bash scripts with many lines to run hc pointed to different directories. When I break execution by CTRL+C (Putty), it breaks execution of current running hc, but not the whole script. I have to hold down CTRL+C for a while, to wait until it will break execution of all of them until the end of the script. Is it possible to break execution of .sh script?

Thanks.
#2
Quote:I think it will be good to grab all the dictionaries from the folder (or folders, if the second "dictionary" will be actually a directory too) and mix them sequentially.

do it with a script

Quote:I usually create bash scripts with many lines to run hc pointed to different directories. When I break execution by CTRL+C (Putty), it breaks execution of current running hc, but not the whole script. I have to hold down CTRL+C for a while, to wait until it will break execution of all of them until the end of the script. Is it possible to break execution of .sh script?

mhm not sure, maybe by checking oclHashcat's rc?
#3
You could also write your script to catch signals and send the process the signal you're trapping.

http://www.google.com/search?sourceid=ch...ap+signals
#4
(01-20-2012, 01:43 PM)atom Wrote:
Quote:I think it will be good to grab all the dictionaries from the folder (or folders, if the second "dictionary" will be actually a directory too) and mix them sequentially.

do it with a script

no problem with that, and with the a script we can do more (filter out certain extensions for example), just thought it should behave the same throughout the program.

(01-20-2012, 01:43 PM)atom Wrote:
Quote:I usually create bash scripts with many lines to run hc pointed to different directories. When I break execution by CTRL+C (Putty), it breaks execution of current running hc, but not the whole script. I have to hold down CTRL+C for a while, to wait until it will break execution of all of them until the end of the script. Is it possible to break execution of .sh script?

mhm not sure, maybe by checking oclHashcat's rc?

sorry, what is rc?

(01-20-2012, 10:50 PM)chort Wrote: You could also write your script to catch signals and send the process the signal you're trapping.

http://www.google.com/search?sourceid=ch...ap+signals

that's the card! thank you!
#5
rc = returncode