FreeBSD MD5 sources & example

Moderator: BarsMonster

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
BarsMonster
Site Admin
Posts: 1118
Joined: Wed Oct 01, 2008 7:58 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

FreeBSD MD5 sources & example

Post by BarsMonster » Tue Mar 10, 2009 7:54 pm

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...

synthesis
Posts: 13
Joined: Mon Oct 20, 2008 10:30 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by synthesis » Wed Mar 11, 2009 9:46 am

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 :(

User avatar
BarsMonster
Site Admin
Posts: 1118
Joined: Wed Oct 01, 2008 7:58 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by BarsMonster » Wed Mar 11, 2009 1:23 pm

Yes, $1$
Need working sources and some examples :-)

DarkPrince
Posts: 148
Joined: Wed Oct 15, 2008 5:50 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by DarkPrince » Wed Mar 11, 2009 2:34 pm

The modules for PasswordsPro are for no use to you ?

pice
Posts: 4
Joined: Mon Mar 09, 2009 1:36 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by pice » Wed Mar 11, 2009 3:12 pm

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

synthesis
Posts: 13
Joined: Mon Oct 20, 2008 10:30 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by synthesis » Wed Mar 11, 2009 6:52 pm

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

d0PING
Posts: 60
Joined: Fri Dec 26, 2008 1:59 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by d0PING » Wed Mar 11, 2009 8:08 pm

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:
experiment kills the theory

d0PING
Posts: 60
Joined: Fri Dec 26, 2008 1:59 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by d0PING » Fri Mar 13, 2009 11:53 am

hilf mir, :crazy: :crazy: :crazy: bitte!!!
md5(unix) fur assembler or c :crazy:
p.s.nex post will be in french :str:
experiment kills the theory

User avatar
LordMike
Posts: 184
Joined: Tue Feb 10, 2009 8:34 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by LordMike » Sun Mar 15, 2009 9:29 am

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... ?

synthesis
Posts: 13
Joined: Mon Oct 20, 2008 10:30 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by synthesis » Mon Mar 16, 2009 11:34 am

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

pice
Posts: 4
Joined: Mon Mar 09, 2009 1:36 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by pice » Mon Mar 16, 2009 7:24 pm

I haven't found any optimized ones
Maybe Johns version?
http://cvsweb.openwall.com/cgi/cvsweb.c ... web-markup

User avatar
BarsMonster
Site Admin
Posts: 1118
Joined: Wed Oct 01, 2008 7:58 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by BarsMonster » Mon Mar 16, 2009 9:17 pm

No need for optimized one... Just need simple & working one ;-)

d0PING
Posts: 60
Joined: Fri Dec 26, 2008 1:59 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by d0PING » Tue Mar 17, 2009 10:32 am

ok :crazy: and please some samples for md5(unix)-working.
obviously, this algo has to be first implemented for multihashing
experiment kills the theory

User avatar
BarsMonster
Site Admin
Posts: 1118
Joined: Wed Oct 01, 2008 7:58 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by BarsMonster » Tue Mar 17, 2009 3:07 pm

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:

d0PING
Posts: 60
Joined: Fri Dec 26, 2008 1:59 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by d0PING » Tue Mar 17, 2009 5:43 pm

>>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:
experiment kills the theory

User avatar
BarsMonster
Site Admin
Posts: 1118
Joined: Wed Oct 01, 2008 7:58 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by BarsMonster » Wed Mar 18, 2009 6:05 am

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 :-)

pice
Posts: 4
Joined: Mon Mar 09, 2009 1:36 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by pice » Fri Mar 20, 2009 9:21 am

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...

D3ad0ne
Posts: 111
Joined: Fri Sep 04, 2009 5:37 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: FreeBSD MD5 sources & example

Post by D3ad0ne » Fri Sep 11, 2009 12:57 pm

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.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest