Remove testing files
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
<?php
|
|
||||||
echo "admin: " . password_hash("admin", PASSWORD_DEFAULT) . "\n";
|
|
||||||
echo "operator: " . password_hash("operator", PASSWORD_DEFAULT) . "\n";
|
|
||||||
?>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<?php
|
|
||||||
$hash1 = '$2y$10$nFJFuwzpHgTOgkMimoOaEOhdGvDg5LaO5aycHlKRKxRbeSYEL.lLS';
|
|
||||||
$hash2 = '$2y$10$xFvFSy4mVkLznYgORN/vb.UDlrFrUlQ4wgXm08vRxN54of9LDGlEW';
|
|
||||||
|
|
||||||
$words = ['admin', 'operator', '123456', 'password', '12345', 'admin123', 'operator123'];
|
|
||||||
|
|
||||||
foreach ($words as $w) {
|
|
||||||
if (password_verify($w, $hash1)) echo "admin password is: $w\n";
|
|
||||||
if (password_verify($w, $hash2)) echo "operator password is: $w\n";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
Reference in New Issue
Block a user