]> gitweb.morketsmerke.org Git - backup.git/commitdiff
Dodanie pliku passwd.php
authorxf0r3m <jakubstasinski@protonmail.com>
Fri, 17 Oct 2025 08:59:48 +0000 (08:59 +0000)
committerxf0r3m <jakubstasinski@protonmail.com>
Fri, 17 Oct 2025 08:59:48 +0000 (08:59 +0000)
passwd.php [new file with mode: 0644]

diff --git a/passwd.php b/passwd.php
new file mode 100644 (file)
index 0000000..855e8a5
--- /dev/null
@@ -0,0 +1,10 @@
+
+<form action="passwd.php" method="post">
+       Password: <input type="password" name="pass" />
+       <input type="submit" value="Get pass hash" />
+</form>
+<?php
+  if (isset($_POST["pass"])) {
+    echo "<h2>" . password_hash($_POST["pass"], PASSWORD_DEFAULT) . "</h2>";
+  }
+?>