Permalink
Browse files

added hasher for forgotten pws

  • Loading branch information...
1 parent bf7de70 commit 7d034df32f70c6b8f4d497beda9479085b25471a @DerWaldschrat committed Jun 18, 2012
Showing with 25 additions and 0 deletions.
  1. +25 −0 passwordcrash.php
View
25 passwordcrash.php
@@ -0,0 +1,25 @@
+<?php
+ $hash = "";
+ require "hasher.php";
+ if (isset($_POST["nick"]) && isset($_POST["pass"])) {
+ $hash = hashme($_POST["pass"], $_POST["nick"]);
+ }
+?><!DOCTYPE html>
+<html>
+
+<head>
+ <title>Passwortcrash</title>
+
+ <meta charset="UTF-8" />
+
+</head>
+
+<body>
+ <form action="passwordcrash.php" method="post">
+ <label for="nick">Nickname:</label><input type="text" id="nick" name="nick" /><br />
+ <label for="pass">Passwort:</label><input type="text" id="pass" name="pass" /><br />
+ <input type="submit" value="Generiere Hash" /><br />
+ </form>
+ <?php echo $hash; ?>
+</body>
+</html>

0 comments on commit 7d034df

Please sign in to comment.