Posts: 2
Threads: 1
Joined: Sep 2014
09-29-2014, 07:41 AM
(This post was last modified: 09-29-2014, 07:44 AM by HashMonster.)
My source file is using "user:hash", and I want to have hashcat save the email and assign it back to the corresponding cracked hash.
My syntax currently is
oclHashcat64.exe -m 0 --username --outfile=cracked.txt --remove hash.txt wordlist/rockyou.txt
And this doesn't appear to do the trick as it saves the hash:
8afa847f50a716e43752d995c8e7435a:testhash
I want output to look like
testhash@yahoo.com:testhash
Any syntax help would be NEEDED direly, and greatly appreciated.
Posts: 2,267
Threads: 16
Joined: Feb 2013
09-29-2014, 09:34 AM
(This post was last modified: 09-29-2014, 09:35 AM by philsmd.)
See wiki and --help:
You need to do it in 2 steps.
1. crack the hashes:
Code:
oclHashcat64.exe -m 0 --username hash.txt wordlist/rockyou.txt
2. display the hashes w/ --show
Code:
oclHashcat64.exe -m 0 --username --show --outfile-format 2 hash.txt
You can also use
Code:
oclHashcat64.exe -m 0 --username --show --outfile cracked.txt --outfile-format 2 hash.txt
if you want to redirect the output to that specific file.
Posts: 2
Threads: 1
Joined: Sep 2014
when I use this command I'm getting only cracked hashes filling up the entire file:
password
password
password
with not hash or email attached.
I should mention that the "users" are actually emails, if that makes a difference.
Posts: 2,267
Threads: 16
Joined: Feb 2013
09-29-2014, 05:51 PM
(This post was last modified: 09-29-2014, 06:42 PM by philsmd.)
yes, thx for testing...
It seems that it only works w/o --outfile-format 2 (or more correctly, it works w/ all outfile-formats that also output the hash at the beginning)...
I think we will categorize this as a bug and next version will output the username always when --username and --show are used together. (BTW next version of oclHashcat 1.31 will be releason soon afaik)
PS: progress of this problem is trac(k)ed here:
https://hashcat.net/trac/ticket/513
PS2: I must correct myself for the --outfile-format x parameter you need in your specific case, see --help but it should be --outfile-format 1 (only hash[
alt])