<?php
require '../includes/db.php';

$username = "ShadowNet";
$new_password = "admin123";

$hash = password_hash($new_password, PASSWORD_DEFAULT);

$stmt = $pdo->prepare("UPDATE admin SET password_hash = ? WHERE username = ?");
$stmt->execute([$hash, $username]);

echo "Admin password reset to: admin123";
?>