Posts: 2
Threads: 1
Joined: Feb 2013
Hi there,
I tried to crack a shadow file of a linux box, so I took the shadow and copied it into a file called crackme. This file looks like:
Code:
cat crackme
$1$LeFwPYdhxxxxxxPdJV1n/
$1$fFqTnJndxxxxxxdyrrPc06EgFa/
$1$GGaGMxxxxxxa1r.dmmCAMlDZo.
$1$Ck88OrkxxxxxxjD1iNCDaGzQpc.
$1$Mb2eMxxxxxxv/rn/kG4OKr1
$1$NKnHm8xxxxxxZtpnnE6qKbRJ/
$1$bhe1PArtxxxxxxXS8KPuvCXjO2w7Bw.
but I get an error:
sudo cudaHashcat-plus64.bin -m0 crackme
Warning: cudaHashcat-plus64.bin is running from /opt/oclhashcat-plus-bin so be careful of relative paths.
WARNING: Hash 'crackme': Line-length exception
ERROR: No hashes loaded
is there a easy way to find the lines which cause die length exception so I can delete them?
Posts: 621
Threads: 57
Joined: May 2010
02-06-2013, 03:09 PM
(This post was last modified: 02-06-2013, 03:10 PM by mastercracker.)
(02-06-2013, 02:38 PM)dronin Wrote: Hi there,
I tried to crack a shadow file of a linux box, so I took the shadow and copied it into a file called crackme. This file looks like:
Code:
cat crackme
$1$LeFwPYdhxxxxxxPdJV1n/
$1$fFqTnJndxxxxxxdyrrPc06EgFa/
$1$GGaGMxxxxxxa1r.dmmCAMlDZo.
$1$Ck88OrkxxxxxxjD1iNCDaGzQpc.
$1$Mb2eMxxxxxxv/rn/kG4OKr1
$1$NKnHm8xxxxxxZtpnnE6qKbRJ/
$1$bhe1PArtxxxxxxXS8KPuvCXjO2w7Bw.
but I get an error:
sudo cudaHashcat-plus64.bin -m0 crackme
Warning: cudaHashcat-plus64.bin is running from /opt/oclhashcat-plus-bin so be careful of relative paths.
WARNING: Hash 'crackme': Line-length exception
ERROR: No hashes loaded
is there a easy way to find the lines which cause die length exception so I can delete them?
In this case it consider that all of them are not the right length. You use -m0 (MD5) and you have to use -m 500 (MD5(unix)).
Posts: 2,301
Threads: 11
Joined: Jul 2010
02-06-2013, 03:09 PM
(This post was last modified: 02-06-2013, 03:11 PM by undeath.)
Quote:Warning: cudaHashcat-plus64.bin is running from /opt/oclhashcat-plus-bin so be careful of relative paths.
(02-06-2013, 03:09 PM)mastercracker Wrote: In this case it consider that all of them are not the right length. You use -m0 and you have to use -m 500.
wrong. This is another problem.
Posts: 179
Threads: 13
Joined: Dec 2012
rename 'crackme' to 'crackme.hash' and use -m 500
Posts: 2
Threads: 1
Joined: Feb 2013
`--> sudo cudaHashcat-plus64.bin -m500 crackme.hash
Warning: cudaHashcat-plus64.bin is running from /opt/oclhashcat-plus-bin so be careful of relative paths.
WARNING: Hash 'crackme.hash': Line-length exception
ERROR: No hashes loaded
Posts: 179
Threads: 13
Joined: Dec 2012
Hmm, why the heck do you run hashcat as SU ? Try without sudo.
Posts: 2,301
Threads: 11
Joined: Jul 2010
02-06-2013, 04:40 PM
(This post was last modified: 02-06-2013, 04:40 PM by undeath.)
hashcat doesn't care for file extensions. Just read the goddamn error msg...
Quote:Warning: cudaHashcat-plus64.bin is running from /opt/oclhashcat-plus-bin so be careful of relative paths.
Posts: 2,936
Threads: 12
Joined: May 2012
those also are not valid md5crypt hashes. although they start with '$1$', they have no salt and variable-length output.
Posts: 621
Threads: 57
Joined: May 2010
(02-06-2013, 04:13 PM)dronin Wrote: `--> sudo cudaHashcat-plus64.bin -m500 crackme.hash
Warning: cudaHashcat-plus64.bin is running from /opt/oclhashcat-plus-bin so be careful of relative paths.
WARNING: Hash 'crackme.hash': Line-length exception
ERROR: No hashes loaded
There has to be a space between -m and 500 also...
Posts: 2,301
Threads: 11
Joined: Jul 2010
(02-08-2013, 07:39 AM)mastercracker Wrote: There has to be a space between -m and 500 also...
no space needed.