hashcat Forum
Multi Rules Problem - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Ancient Versions (https://hashcat.net/forum/forum-46.html)
+--- Forum: Very old oclHashcat-plus Support (https://hashcat.net/forum/forum-23.html)
+--- Thread: Multi Rules Problem (/thread-740.html)

Pages: 1 2


Multi Rules Problem - Hash-IT - 12-18-2011

Hi atom

Sad

Sorry to have to report that the multi rules doesn’t work for me. This could obviously be entirely my fault however. Big Grin

To reproduce

oclHashcat-plus-0.07b3

WPA.hcap password = PASSWORD

Test password list contains passwor

Rule file 1 contains u
Rule file 2 contains $D

The password is not found.

Rule 1 should add u to upper all and rule 2 should append D

So …u$D should have been passed to oclhashcatplus causing it to upper case all and append D = PASSWORD.

As I say this could be my fault.



RE: Multi Rules Problem - atom - 12-18-2011

hmm, strange, works for me. maybe you should paste your cmdline and the hccap as well.

Quote:root@sf:~/oclHashcat-plus-0.07# cat > word
passwor
root@sf:~/oclHashcat-plus-0.07# cat > rule1
u
root@sf:~/oclHashcat-plus-0.07# cat > rule2
$D
root@sf:~/oclHashcat-plus-0.07# mkpasswd -m md5 PASSWORD
$1$UA9o/mkq$GNZXK4/40ktLsNSN5CG.A.
root@sf:~/oclHashcat-plus-0.07# ./oclHashcat-plus64.bin -m 500 '$1$UA9o/mkq$GNZXK4/40ktLsNSN5CG.A.' word -r rule1 -r rule2
oclHashcat-plus v0.07 by atom starting...

Hashes: 1
Unique salts: 1
Unique digests: 1
Bitmaps: 8 bits, 256 entries, 0x000000ff mask, 1024 bytes
Rules: 1
GPU-Loops: 128
GPU-Accel: 40
Password lengths range: 1 - 15
Platform: AMD compatible platform found
Watchdog: Temperature limit set to 90c
Device #1: Cypress, 1024MB, 0Mhz, 20MCU
Device #2: Cypress, 1024MB, 0Mhz, 20MCU
Device #1: Allocating 120MB host-memory
Device #1: Kernel ./kernels/4098/m0500.Cypress.64.kernel (567082 bytes)
Device #2: Allocating 120MB host-memory
Device #2: Kernel ./kernels/4098/m0500.Cypress.64.kernel (567082 bytes)

Scanned dictionary word: 8 bytes, 1 words, 1 keyspace, starting attack...

$1$UA9o/mkq$GNZXK4/40ktLsNSN5CG.A.TongueASSWORD

Status.......: Cracked
Input.Mode...: File (word)
Hash.Target..: $1$UA9o/mkq$GNZXK4/40ktLsNSN5CG.A.
Hash.Type....: md5crypt, MD5(Unix), FreeBSD MD5, Cisco-IOS MD5
Time.Running.: 1 sec
Time.Util....: 1000.3ms/0.0ms Real/CPU, 0.0% idle
Speed........: 1 c/s Real, 0 c/s GPU
Recovered....: 1/1 Digests, 1/1 Salts
Progress.....: 1/1 (100.00%)
Rejected.....: 0/1 (0.00%)
HW.Monitor.#1: 86% GPU, 55c Temp
HW.Monitor.#2: 86% GPU, 53c Temp

Started: Sun Dec 18 21:20:53 2011
Stopped: Sun Dec 18 21:21:09 2011



RE: Multi Rules Problem - Hash-IT - 12-19-2011

Hmm.. cough. Sad

Due to my experiences of ever questioning or doubting your code, I have learnt to display copious amounts of a$$ covering before posting.

Here
Quote:This could obviously be entirely my fault however.

...and here...
Quote:As I say this could be my fault.

It would now appear this approach was a wise decision.

Please accept my apologies, I am an idiot.



RE: Multi Rules Problem - nobody - 12-19-2011

How can we get the 0.07b3?


RE: Multi Rules Problem - Hash-IT - 12-19-2011

(12-19-2011, 07:09 PM)nobody Wrote: How can we get the 0.07b3?

You can't "get it" you are given it Smile

I think atom took pity on me as I manged to receive a copy by being an enthusiastic idiot, you will have to think of another way !! Big Grin

Unfortunately one of the conditions is that I do not redistribute it. So I am sorry if I seem a little mean not giving copies out but there is no way I would break the confidence.

I am hopeful a full release will be available soon.




RE: Multi Rules Problem - Hash-IT - 12-19-2011

atom,

Just so this thread hasn't wasted your time completely, would it be possible to change the --help file of oclHashcat-plus with regards to the rule files ?

Where it says ...

Quote:-r, --rules-file=FILE Rules-file, multiple use is supported

Could it say,
Quote:-r, --rules-file=FILE Rules-file, multiple use is supported, -r 1.rule -r 2.rule etc

Thanks.

10 hashcat points to anyone who can guess where I was going wrong before !!Big Grin !!


RE: Multi Rules Problem - shapleigh - 12-20-2011

you were using -r 1.rule 2.rule and it was generating PASSWOR$D, as result of treading 2.rule as a word file?


RE: Multi Rules Problem - atom - 12-20-2011

(12-19-2011, 10:12 PM)Hash-IT Wrote: atom,

Just so this thread hasn't wasted your time completely, would it be possible to change the --help file of oclHashcat-plus with regards to the rule files ?

Where it says ...

Quote:-r, --rules-file=FILE Rules-file, multiple use is supported

Could it say,
Quote:-r, --rules-file=FILE Rules-file, multiple use is supported, -r 1.rule -r 2.rule etc

Thanks.

10 hashcat points to anyone who can guess where I was going wrong before !!Big Grin !!

i can not, it will exceed 78 chars in length



RE: Multi Rules Problem - Hash-IT - 12-20-2011

(12-20-2011, 02:56 AM)shapleigh Wrote: you were using -r 1.rule 2.rule and it was generating PASSWOR$D, as result of treading 2.rule as a word file?

Yes, thats right ! Big Grin

OK You get 10 hashcat points !! ... Not sure what you can do with them but look after them in case they are worth something in the future ! WinkI was thinking like aircrack as in rule1.rule,rule2.rule etc I wasn't using the -r each time.


(12-20-2011, 10:20 AM)atom Wrote: i can not, it will exceed 78 chars in length

ok, can you think of a better way so you don't get more idiots like me ? Sad

Perhaps...

Quote:-r, --rules-file=FILE Rules-file, multiple use, -r 1.rule -r 2.rule



RE: Multi Rules Problem - atom - 12-21-2011

much better, changed that Smile