View Single Post
  #1   IP: 117.95.79.234
Old 2010-08-14, 11:25 AM
topvip topvip is offline
超级版主
 
Join Date: 2006-01-04
Posts: 1206
topvip 正向着好的方向发展
Default x-cart 4.0 Reset Admin password?

this is the code for newpass.php to see password on 4.4:

<?php
require 'auth.php';
x_load('crypt', 'user');
$user_data = func_query_first("SELECT * FROM $sql_tbl[customers] WHERE BINARY LOWER(login)='## YOUR*EMAIL.ADDRESS ##' AND usertype='P'");
echo text_decrypt($user_data["password"]);
?>
Reply With Quote