Hey guys. I coded this earlier today. It's nothing special, but it's useful nonetheless. Obviously, this requires hashcat and a little modification. You'll have to specify the paths to your hash and your wordlist.
Code
<!DOCTYPE HTML>
<html>
<body>
<center>
<form action="" method="post">
Hash:<br><input type="text" name="hash"><br><br>
<input type="submit">
</form>
<br>
<br>
<?php
if(isset($_POST["hash"])) {
$hash = $_POST["hash"];
$filename = rand(1, 100);
$handle = fopen($filename, "w");
fwrite($handle, $hash);
fclose($handle);
$crackhash = shell_exec("hashcat -a 0 -m 0 /opt/lampp/htdocs/$filename /home/jared/Documents/passwords/output.txt"); // SPECIFY HASH LOCATION AND WORDLIST LOCATION
preg_match_all("#$hash:(.*)\s#", $crackhash, $output);
if($output[1][0] != NULL)
echo "Password is: <font color='green'><b>" . @$output[1][0] . "</b></font>";
else
echo "<font color='red'><b>Password was not found.</b></font>";
exec("rm $filename");
}
?>
</center>
</body>
</html>


![[Image: wOdD4yf.gif]](https://i.imgur.com/wOdD4yf.gif)
