hashcat Forum

Full Version: WPA - Help with rules?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey everyone,

I've just started using oclhascat, awesome tool, pretty simple to get up and running, but I'm having a little trouble configuring rules.

I've trimmed down a wordlist so that it only contains words between 8-12 letters long, all lower case, I'd like to add a rule that will rotate the first letter upper and lower case, and would add/try a combination of all numbers in the range 1-9999 to the end of the word

password1-password9999
Password1-Password9999

After some reading I tried this:

oclHashcat64.exe -m 2500 WPA.hccap -c wordlist.lst ?d?d?d?d

But it it gives the error: ?d?d?d?d: No such file or directory.

Any help would be appreciated.

Thanks,
Dave
(12-16-2013, 03:14 PM)Dave001 Wrote: [ -> ]Hey everyone,

I've just started using oclhascat, awesome tool, pretty simple to get up and running, but I'm having a little trouble configuring rules.

I've trimmed down a wordlist so that it only contains words between 8-12 letters long, all lower case, I'd like to add a rule that will rotate the first letter upper and lower case, and would add/try a combination of all numbers in the range 1-9999 to the end of the word

password1-password9999
Password1-Password9999

After some reading I tried this:

oclHashcat64.exe -m 2500 WPA.hccap -c wordlist.lst ?d?d?d?d

But it it gives the error: ?d?d?d?d: No such file or directory.

Any help would be appreciated.

Thanks,
Dave

I think its something like this.
./oclHashcat64.bin -a 6 -m 2500 Hashfile.hccap wordlist.txt ?d?d?d
I think you could also add --increment to it. not sure. just test it.
And move your -c to the start. so your final command sould look like

oclHashcat64.exe -a 6 -i -m 2500 -c 2000 WPA.hccap wordlist.lst ?d?d?d?d
The -C sould reflect your amount of memory. but the wordlist.lst is small so dont think the -C
Password0-Password9
oclHashcat64.exe -a 6 -m 2500 -j T0 WPA.hccap wordlist.lst ?d
Password00-Password99
oclHashcat64.exe -a 6 -m 2500 -j T0 WPA.hccap wordlist.lst ?d?d
Password000-Password999
oclHashcat64.exe -a 6 -m 2500 -j T0 WPA.hccap wordlist.lst ?d?d?d
Password0000-Password9999
oclHashcat64.exe -a 6 -m 2500 -j T0 WPA.hccap wordlist.lst ?d?d?d?d

c Capitalize the first letter and lower the rest
TN Toggle the case of characters at position N
Thanks for the help, I can see where I went wrong.

-a 6 = Sets attack mode to Hybrid dict + mask
-j = sets the rule to start at the end of each word.
T0 = toggles case of the first letter of each word.

Thanks again,
Dave