Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[PHP] How to make a md5 hash generator

Junior Spellweaver
Joined
Jul 6, 2008
Messages
173
Reaction score
2


Description:
Code:
Test:

A little tutorial to make a md5 hash generator.

%php
%html
%md5

Code:
PHP:
<form action='test2.php?' name='gen' method='post'>
Text To Hash <input type='text' name='pass'><br />
<input type='submit' value='Go!'>
</form>

<?php
// Start MD5 Hash Generator \\
$pass2=$_POST['pass'];
$pass=md5($pass2);
echo $pass;
// End Hash Generator \\
?>

Enjoy.
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Jun 28, 2007
Messages
2,986
Reaction score
3
...

Didn't someone else post that in the other thread? I hope you won't continue this...make it more advanced, as people can look this up in 5 seconds. (or 1 if you know where to be)
 
Junior Spellweaver
Joined
Jul 6, 2008
Messages
173
Reaction score
2
Sorry :'( later ill make mroe advance ones, i just want people to know
 
duck you, I'm a dragon
Loyal Member
Joined
Apr 29, 2005
Messages
6,407
Reaction score
130
This can be done in one line:

PHP:
<?php
// Start MD5 Hash Generator \\
echo md5($_POST['pass']);
?>
 
duck you, I'm a dragon
Loyal Member
Joined
Apr 29, 2005
Messages
6,407
Reaction score
130
Also, I forget to mention a md5 hash can be cracked in under 60 minutes. Running from an almost 7 year old computer.
 
Banned
Banned
Joined
Jun 24, 2008
Messages
723
Reaction score
1
How do you crack MD5, my mate does it and won't tell me >;]
 
Custom Title Activated
Loyal Member
Joined
Jun 28, 2007
Messages
2,986
Reaction score
3
How do you crack MD5, my mate does it and won't tell me >;]

Well, you do this:

Take 5 pens, and 50 kilo of paper, now write down every possible password and their MD5 outcome...that is what REAL hackers do ;)
 
Back
Top