Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

PHP help plz


ghost's Avatar
0 0

Im a newb to php, and i want to make a simple md5 hash cracker.

I have my source, and it works good, but to crack a different hash you have to edit the source…

$hash="1200cf8ad328a60559cf5e7c5f46ee6d";
$type="md5";

those are what you have to change…

can someone help me make a form so that you type in you hash and type, and it changes the $hash and $type variables (think they are called variables:P) then continues on with the script


ghost's Avatar
0 0

If you know your a newb to PHP - Why not read some more tutorials and do it yourself xD


ghost's Avatar
0 0

Yea, but when i try i make a form and i set the action to the page, and i setvalue thing to the variable but i dont get anything


ghost's Avatar
0 0

index.php

<form action="execute.php" method="post">
Hash: <input type="text" name="hash"><br>
Type: <input type="text" name="type">
</form>

execute.php

<?php
if(isset($_POST['hash']) && isset($_POST['type'])) {
$hash = $_POST['hash'];
$type = $_POST['type'];
}
?>