[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
3.14.by forum • FreeBSD MD5 sources & example
Page 1 of 1

FreeBSD MD5 sources & example

Posted: Tue Mar 10, 2009 7:54 pm
by BarsMonster
Guy, we have a volunteer going to prepare FreeBSD to go live ;-)
We need some implementation sources & examples (and standalone calculation program if any), could anyone help with this while I am working on other stuff?

I know there are some Freebsd MD5 sources in JTR...

Re: FreeBSD MD5 sources & example

Posted: Wed Mar 11, 2009 9:46 am
by synthesis
With FreeBSD MD5 do you mean Unix MD5 (Hashes starting with $1$)? You are the ones guys, I was looking for a fast cracker... With JTR bruteforcing is terrible slow, something like 4k pass/sec :(

Re: FreeBSD MD5 sources & example

Posted: Wed Mar 11, 2009 1:23 pm
by BarsMonster
Yes, $1$
Need working sources and some examples :-)

Re: FreeBSD MD5 sources & example

Posted: Wed Mar 11, 2009 2:34 pm
by DarkPrince
The modules for PasswordsPro are for no use to you ?

Re: FreeBSD MD5 sources & example

Posted: Wed Mar 11, 2009 3:12 pm
by pice
You can use openssl sources as a basis
openssl passwd -1 -salt salt password
This algo has various names (md5 crypt, paul henning md5, etc). I do not see major reversing optimalizations since it is 1000x md5 with some minor modifications.

a php implementation is available on: http://tutorial.riehle-web.com/scripts/ ... t=md5crypt, and here is the original C implementation;
http://ftp.netbsd.org/pub/NetBSD/NetBSD ... md5crypt.c

Re: FreeBSD MD5 sources & example

Posted: Wed Mar 11, 2009 6:52 pm
by synthesis
That's a full working example (it's Java, I will look for a complete C code) which takes 2 input strings: password and salt. Tested on my linux box, hashes are correct.

http://www.koders.com/java/fid029DF2C60 ... x?s=md5#L8

Hope this helps

Re: FreeBSD MD5 sources & example

Posted: Wed Mar 11, 2009 8:08 pm
by d0PING
thanks, a lot if you could on c or on asm(please)
p.s.:http://ftp.netbsd.org/pub/NetBSD/NetBSD ... md5crypt.c is that realy that :crazy: :crazy: :crazy:

Re: FreeBSD MD5 sources & example

Posted: Fri Mar 13, 2009 11:53 am
by d0PING
hilf mir, :crazy: :crazy: :crazy: bitte!!!
md5(unix) fur assembler or c :crazy:
p.s.nex post will be in french :str:

Re: FreeBSD MD5 sources & example

Posted: Sun Mar 15, 2009 9:29 am
by LordMike
d0PING wrote:hilf mir, :crazy: :crazy: :crazy: bitte!!!
md5(unix) fur assembler or c :crazy:
p.s.nex post will be in french :str:
Whut ?..
I thought this was the English part of the forums... ?

Re: FreeBSD MD5 sources & example

Posted: Mon Mar 16, 2009 11:34 am
by synthesis
LordMike wrote:Whut ?..
I thought this was the English part of the forums... ?
He's joking, because he needs assembler or C code examples for FreeBSD MD5 implementation... :D

Re: FreeBSD MD5 sources & example

Posted: Mon Mar 16, 2009 7:24 pm
by pice
I haven't found any optimized ones
Maybe Johns version?
http://cvsweb.openwall.com/cgi/cvsweb.c ... web-markup

Re: FreeBSD MD5 sources & example

Posted: Mon Mar 16, 2009 9:17 pm
by BarsMonster
No need for optimized one... Just need simple & working one ;-)

Re: FreeBSD MD5 sources & example

Posted: Tue Mar 17, 2009 10:32 am
by d0PING
ok :crazy: and please some samples for md5(unix)-working.
obviously, this algo has to be first implemented for multihashing

Re: FreeBSD MD5 sources & example

Posted: Tue Mar 17, 2009 3:07 pm
by BarsMonster
d0PING wrote:ok :crazy: and please some samples for md5(unix)-working.
obviously, this algo has to be first implemented for multihashing
Multihashing does not work with salted passwords, sorry :str:

Re: FreeBSD MD5 sources & example

Posted: Tue Mar 17, 2009 5:43 pm
by d0PING
>>Multihashing does not work with salted passwords, sorry
shit, i'd forgotten that,you're right, what's why i really :wall: need md5(unix) in asm and samples :wink:

Re: FreeBSD MD5 sources & example

Posted: Wed Mar 18, 2009 6:05 am
by BarsMonster
d0PING wrote:>>Multihashing does not work with salted passwords, sorry
shit, i'd forgotten that,you're right, what's why i really :wall: need md5(unix) in asm and samples :wink:
Forget about asm :-) We need simple C source, that's it :-)

Re: FreeBSD MD5 sources & example

Posted: Fri Mar 20, 2009 9:21 am
by pice
I found a c implementation for openSSL:

See http://cvs.openssl.org/fileview?f=opens ... d.c&v=1.31 and then the function *md5crypt(

Good luck implementing it...

Re: FreeBSD MD5 sources & example

Posted: Fri Sep 11, 2009 12:57 pm
by D3ad0ne
Haven't seen an update on this in a while. I noticed this guy - http://rpisec.net/projects/show/hash-cracker has some cuda work done on md5crypt. Just wondering if you may be able to port some of his work over from md5crypt_kernel.cu file in his v3 code.