NOTE: Why not use our List Manager to crack your lists? Its easy and enables better management.

NOTE: When cracking WPA/WPA2 passwords, make sure you check gpuhash.me first incase it's already been processed.

Home - General Discussion - Hard time formulating hashcat command string (newbie)


3 Results - Page 1 of 1 -
1
Author Message
Avatar
deepkeks

Status: n/a
Joined: Wed, 06 Mar 2019
Posts: 53
Team:
Reputation: 40 Reputation
Offline
Wed, 06 Mar 2019 @ 15:11:07

I'm having a hard time getting a good result from a known cracked hash. I am new at this, and trying to learn the software but I think I've done something wrong.

The hashes I need are algo: SHA-1('--'.$salt.'--'.$pass.'--'. I have added dashes to both ends of the salts.

5bc649b3013308927f531134e58c88c22aec2c05:--6df23353c7b392c68002ae8c63a7092e33b20243--
bb3a2385397f1aed1d7afe59eb9e2b0e15eb129c:--d7da30f4a410c9cfc1995a124c7fdbfa51cfa7c3--

The second hash there is known to be 'Hillary1', no quotes. Thus, to test and learn, I built the rules below thinking it would force an 8 digit password, with an upper case first letter and any characters in the last two columns. This SHOULD hit for the second hash, right? Doesn't. I've also added a rule to add '--' to end of pass, ass the algo listed demands.

Can someone please tell me what I've done incorrectly here?

hashcat64.exe -O -m 120 -a 3 -j '$-$-' hashes ?u?l?l?l?l?l?a?a -o cracked --session recentsession


2 x 1050Ti

Avatar
gpuhash_me

Status: Trusted
Joined: Sun, 08 Nov 2015
Posts: 785
Team: gpuhash team
Reputation: 1574 Reputation
Offline
Wed, 06 Mar 2019 @ 15:35:03

-j and -k not used in -a3 mode, you need to add dashes directly to your mask:

./hashcat64.bin -O -m 120 -a 3 hashes ?u?l?l?l?l?l?a?a--


Head of cheap publicity department
Support, discounts, free offers for HK members
BTC: 1GPUHASHrfT1hbDJ8KBETkTieyNzUMwMXZ

Avatar
deepkeks

Status: n/a
Joined: Wed, 06 Mar 2019
Posts: 53
Team:
Reputation: 40 Reputation
Offline
Wed, 06 Mar 2019 @ 15:50:25

Wow. Within 1 minute, I get the output for the known hash as "Hillary1--". Works for me. Thank you. Lesson learned.


2 x 1050Ti


3 Results - Page 1 of 1 -
1

We have a total of 184465 messages in 22854 topics.
We have a total of 20598 registered users.
Our newest registered member is fra1234567890.