$username = 'admin';
$password = $crypt->hash( trim( '111qqq' ) );
if( $db->exec( "UPDATE " . NV_USERS_GLOBALTABLE . " SET password=" . $db->quote( $password ) . " WHERE md5username='" . nv_md5safe( trim( $username ) ) . "'" ) )
{
die( 'Reset password success. Delete this file immediately' );
}
else
{
die( 'No Reset password' );
}
Thay đổi giá trị:
$username = 'admin';
$password = $crypt->hash( trim( '111qqq' ) );
Truy cập vào một nơi bất kỳ trên site, nếu nhận được thông báo "Reset password success. Delete this file immediately" thì xem như thành công. Xóa đoạn code này đi.
Những tin mới hơn
Những tin cũ hơn
Trung tâm ứng dụng NukeViet
Ghi rõ nguồn khi sao chép thông tin từ website này.
Sử dụng CMS NukeViet, thiết kế bởi TDFOSS.,LTD