Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reading directories with dictionaries in combinator mode
01-20-2012, 12:35 PM
Post: #1
reading directories with dictionaries in combinator mode
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.
Find all posts by this user
Quote this message in a reply
01-20-2012, 01:43 PM
Post: #2
RE: reading directories with dictionaries in combinator mode
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?
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2012, 10:50 PM
Post: #3
RE: reading directories with dictionaries in combinator mode
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
Find all posts by this user
Quote this message in a reply
01-21-2012, 03:39 AM
Post: #4
RE: reading directories with dictionaries in combinator mode
(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!
Find all posts by this user
Quote this message in a reply
01-21-2012, 09:50 AM
Post: #5
RE: reading directories with dictionaries in combinator mode
rc = returncode
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply