2014-09-11 79 views
0

我有一個使用這家商店的腳本codecanyon.net/item/universal-digital-shop/2987770,但是我最近通過它的管理面板前端更改了我的密碼(通常基於例如yoursite.com/settings.php)並做了一個愚蠢的舉動沒有檢查記事本真的在關閉它之前保存了我的新密碼。通過MySQL(phpmyadmin)恢復密碼?

現在我無法登錄到我的商店,需要幫助的人。

我檢查phpmyamdin,它似乎是一個哈希密碼(是MD5?),我只是不知道這些如何工作。

我可以發佈大量的代碼,我有root和mysql和phpmyadmin訪問權限(我通過phpmyadmin更舒適,但不是shell)。

我不想再填充整個數據庫,因爲這會丟失我的客戶記錄。

任何想法?

下面的代碼包含密碼和登錄ID。但密碼「346g3643832823h2h39236323f263827」和登錄ID「admin」僅用於示例目的,並不是數據庫中實際的實時數據片段。

<?php 
/** DO NOT MODIFY OPTIONS BELOW. YOU CAN MODIFY THEM VIA ADMIN PANEL. */ 
define('VERSION', '2.50'); 
define('RECORDS_PER_PAGE', '50'); 
define('DEMO_MODE', false); 
define('STATUS_DRAFT', 0); 
define('STATUS_ACTIVE', 1); 
define('STATUS_PENDING', 7); 
define('ABSPATH', dirname(dirname(__FILE__))); 

$options = array (
"version" => VERSION, 
"owner_email" => "[email protected]".str_replace("www.", "", $_SERVER["SERVER_NAME"]), 
"from_name" => "Universal Digital Shop", 
"from_email" => "[email protected]".str_replace("www.", "", $_SERVER["SERVER_NAME"]), 
"success_email_subject" => "Thank you for payment", 
"success_email_body" => "Dear {payer_name},".PHP_EOL.PHP_EOL."Thank you for your purchasing \"{file_title}\". Please find download link below:".PHP_EOL."{download_link}".PHP_EOL."This link is valid {download_link_lifetime} days.".PHP_EOL.PHP_EOL."Thanks,".PHP_EOL."Universal Digital Shop", 
"failed_email_subject" => "Payment was not completed", 
"failed_email_body" => "Dear {payer_name},".PHP_EOL.PHP_EOL."Thank you for your payment. Unfortunately, it was not completed.".PHP_EOL."Payment status: {payment_status}.".PHP_EOL."We will review your payment shortly.".PHP_EOL.PHP_EOL."Thanks,".PHP_EOL."Universal Digital Shop", 
"csv_separator" => ";", 
"link_lifetime" => "2", 
"xsendfile" => "off", 
"enable_paypal" => "off", 
"paypal_id" => "", 
"paypal_sandbox" => "off", 
"enable_payza" => "off", 
"payza_id" => "", 
"payza_sandbox" => "off", 
"enable_interkassa" =>"off", 
"interkassa_shop_id" => "", 
"interkassa_currency" => "USD", 
"interkassa_secret_key" => "", 
"enable_authnet" => "off", 
"authnet_login" => "", 
"authnet_sandbox" => "off", 
"authnet_key" => "", 
"authnet_md5hash" => "", 
"enable_skrill" => "off", 
"skrill_id" => "", 
"skrill_secret_word" => "", 
"enable_egopay" => "off", 
"egopay_store_id" => "", 
"egopay_store_pass" => "", 
"enable_perfect" => "off", 
"perfect_account_id" => "", 
"perfect_payee_name" => "", 
"perfect_passphrase" => "", 
"enable_bitpay" => "off", 
"bitpay_key" => "", 
"bitpay_speed" => "medium", 
"enable_stripe" => "off", 
"stripe_secret" => "", 
"stripe_publishable" => "", 
"login" => "admin", 
"password" => "346g3643832823h2h39236323f263827" 
); 
$paypal_currency_list = array("USD", "AUD", "BRL", "CAD", "CHF", "CZK", "DKK", "EUR", "GBP", 
"HKD", "HUF", "ILS", "JPY", "MXN", "MYR", "NOK", "NZD", "PHP", "PLN", "SEK", "SGD", "THB", "TRY", 

"TWD");); 
$interkassa_currency_list = array("USD", "EUR", "GBP", "RUR", "UAH"); 
$egopay_currency_list = array("USD", "EUR"); 
$perfect_currency_list = array("USD", "EUR"); 
$bitpay_currency_list = array("USD", "EUR", "GBP", "AUD", "CAD", "CHF", "CNY", "RUB", "DKK", "HKD", "PLN", "SGD", "THB", "BTC"); 
$stripe_currency_list = array("USD", "CAD"); 
?> 
+0

詢問供應商支持 – PeeHaa 2014-09-11 10:14:55

+0

感謝您的回覆PeeHaa。這是一個轉移給我的項目,很難追查誰真正獲得了劇本。問候,Shuaib – ParttimeCoder 2014-09-11 10:27:33

+0

密碼後搜索你的源代碼,也許你會發現代碼 – Mikpa 2014-09-11 11:17:57

回答

0

刪除數據庫中的所有表並將它們重新填充到同一數據庫下。自從貝寶持有我所有的交易記錄後,不必再擔心客戶記錄。

;)