Sindbad~EG File Manager
<?php
/**
* Password Hash Generator
* Run this script to generate the correct hash for password123
*/
$password = 'password123';
$hash = password_hash($password, PASSWORD_BCRYPT);
echo "<h1>Password Hash Generated</h1>";
echo "<p><strong>Password:</strong> $password</p>";
echo "<p><strong>Hash:</strong> $hash</p>";
echo "<hr>";
echo "<h3>Copy this hash and update the schema.sql file on line 315</h3>";
echo "<p>Or run the query below in phpMyAdmin:</p>";
echo "<pre>";
echo "UPDATE users SET password_hash = '$hash' WHERE username = 'nabibo';";
echo "</pre>";
// Also test verification
if (password_verify($password, $hash)) {
echo "<p style='color: green;'>✓ Verification test: PASSED</p>";
} else {
echo "<p style='color: red;'>✗ Verification test: FAILED</p>";
}
?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists