hashcat Forum
Syntax Help - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: Old hashcat Support (https://hashcat.net/forum/forum-20.html)
+--- Thread: Syntax Help (/thread-103.html)



Syntax Help - maxreality - 08-06-2010

I am confident that I'm doing something severely n00bish and incorrect here, but I've tried (nearly) everything.

I created a test account on my box to hopefully crack the shadow file.

I copied the line to a test hash file with this line
testing:$6$3yx0TEli$AbGUWY.IVOIwc8IaKgj3WptKvzmgIdibCG5eGUkATRSQEnO2JzVNm2msngTgz6RSd6hbhdV8HodJxiRxggRGq1:14827:0:99999:7:::

My usage
./hashcat-cli.bin --hash-mode=500 /home/test/Desktop/test /home/test/Desktop/wordlist
yields either
(seperator unmatched)
or
(line length exception)

I thought I'd start off with something easy. I know the password, and the password is stored in the wordlist. Am I missing something here?

Thanks in advance,


RE: Syntax Help - Rolf - 08-06-2010

Try testing again with only with
Code:
$6$3yx0TEli$AbGUWY.IVOIwc8IaKgj3WptKvzmgIdibCG5eGUkATRSQEnO2JzVNm2msngTgz6RSd6hbhdV8HodJxiRxggRGq1
in the hashfile

and

running
Code:
hashcat-cli.bin -a 0 -m 500 /home/test/Desktop/test /home/test/Desktop/wordlist



RE: Syntax Help - maxreality - 08-06-2010

hi,


thanks for replying.


i created a file with only the hash-string and a wordlist with only that password. the command yields
Code:
Initializing with 8 threads and 32mb segment-size...

NOTE: press enter for status-screen

Skipping line: $6$3yx0TEli$AbGUWY.IVOIwc8IaKgj3WptKvzmgIdibCG5eGUkATRSQEnO2JzVNm2msngTgz6RSd6hbhdV8HodJxiRxggRGq1 (line length exception)
No hashes loaded



RE: Syntax Help - Rolf - 08-06-2010

Uhm, Sha-512(Unix) not supported.


RE: Syntax Help - maxreality - 08-06-2010

Thanks.


I've also tried creating a simple MD5 hash from http://www.md5hashgenerator.com

String: thisisatest
MD5: f830f69d23b8224b512a0dc2f5aec974

Yields same results.


RE: Syntax Help - atom - 08-06-2010

works fine for me...

Code:
thumbstone hashcat-0.35 # echo f830f69d23b8224b512a0dc2f5aec974 > hash
thumbstone hashcat-0.35 # echo thisisatest > word
thumbstone hashcat-0.35 # ./hashcat-cli.bin hash word
Initializing with 8 threads and 32mb segment-size...

NOTE: press enter for status-screen

Added hashes from file hash: 1 (1 salts)
Activating quick-digest mode for single-hash
f830f69d23b8224b512a0dc2f5aec974:thisisatest
All hashes have been recovered



RE: Syntax Help - maxreality - 08-07-2010

(08-06-2010, 11:49 PM)atom Wrote: works fine for me...

Code:
thumbstone hashcat-0.35 # echo f830f69d23b8224b512a0dc2f5aec974 > hash
thumbstone hashcat-0.35 # echo thisisatest > word
thumbstone hashcat-0.35 # ./hashcat-cli.bin hash word
Initializing with 8 threads and 32mb segment-size...

NOTE: press enter for status-screen

Added hashes from file hash: 1 (1 salts)
Activating quick-digest mode for single-hash
f830f69d23b8224b512a0dc2f5aec974:thisisatest
All hashes have been recovered

thank you for the response atom. i tried without any flags and was able to successfully recover the hash. the problem must lie within the switches i'm using. thanks again for all of your help.

also, congrats on your winning the dc contest.