New Attack Available In Rule File ? - Printable Version
+- hashcat Forum (http://hashcat.net/forum)
+-- Forum: Support (/forum-3.html)
+--- Forum: General Help (/forum-8.html)
+--- Thread: New Attack Available In Rule File ? (/thread-500.html)
New Attack Available In Rule File ? - Hash-IT - 09-19-2011 09:14 PM
I am trying to incorporate the new permutation attack into a rule file I was thinking that my code would look something like this…
oclHashcat-plus32.exe -m 2500 <test.hcap> --rules-file -o found.txt
and that my rule file would have the following for a full permutation…
Which didn’t work. I read the help in hashcat+ and it said to use “-r” for a rule based attack.
oclHashcat-plus32.exe -m 2500 <test.hcap> -a -r --rules-file test.txt -o found.txt
Which didn’t work.
Is it possible to make the new attack option work via a rule file or am I trying to do something impossible ? I am quite prepared to believe I am doing something wrong !! ha ha !
RE: New Attack Available In Rule File ? - San - 09-19-2011 10:13 PM
(09-19-2011 09:14 PM)Hash-IT Wrote: oclHashcat-plus32.exe -m 2500 <test.hcap> -a -r --rules-file test.txt -o found.txtFrom the --help:
-a, --attack-mode=NUM number of attack-mode
0 = Straight *
4 = Permutation
* = for rule-based attack use -r or -g
So you have to specify a number after the -a switch, "0" or "4".
You can't use -r, -a or -g at the same time. You have to choose one of these.
A correct syntax example would be:
Generated rules attack:
There's already good rules file in the /rules/ directory. If you're using the -m 2500 switch i would suggest you to use best64.rule.
RE: New Attack Available In Rule File ? - Hash-IT - 09-20-2011 12:41 AM
Thanks for your help, I do understand how to make the permutations work when writing it directly in the command.
oclHashcat-plus32.exe -m 2500 <test.hcap> -a 4 --rules-file test.txt -o found.txt
The above works for me. I also understand the other examples you kindly provided. However I am making a script that has this standard line …
oclHashcat-plus32.exe -m 2500 <test.hcap> --rules-file test.txt -o found.txt
My script asks me which .hcap file I want to test and which dictionary I wish to use. It also asks for which rule file I would like to use, this is where I would like the opportunity to set the permutations option. I wanted to try to make the permutation option within the rule file itself, not the original command line. I am sorry if I am not explaining myself very well.
Everything works very well apart from getting the permutations to work solely from the rule file. I thought I would be able to switch the permutations on or off depending on which of my pre written rule files I chose.
Sorry about this, a friend has just e-mailed me to let me know that the permutation option is an attack mode and therefore not available in the rule file.
I'll alter my script to allow for this.
Thanks for you help anyway