Приветствую
Помогите декодировать скриптPHP код:
$o"QAAAOzgKDQoNI25jaWJwaHdidQQRJzonNzwBEWlYZHJ1APElNiUBEQAQcGZ+c2h3Zn5YbmMCQENFPT0AAGFic2RvWGFudXRzLyVUQksABEJEUyctJ0FVSEonJSkCEXNmAABla2IvIGRoampoaVh3a3JgAABuaXFmdSAuKSUnUE9CVUInpEAA4G4CUTogBfggJS4HEXRiZHVicw/wbGJ+WAHFB48HjwePB48HiQZvB/RjYnRk+McHrw8vDy8PLw8vYjogBhoHVGJ/cwdPB08HT/h/B08HTwdABgkHNGxydXQHTwdPB08HTwdPB0AGGugAB1QIgB1QaR0QI1hAXCB0YnNzbmkGFmAgWlwgAaAfcGNuc3QA4CMA4AnGXACHIHFma3JiIFoCYHNuc2sAoCJwKrAXt2p1bylTIwVAKkUC5gJAIwIhHpNYJQAHYQDj98MA0AX/AxEqgFgaAQKxAIECbwJhcnRidTDiDFIEPnJuYyBaAXJpZmpiA6ENsQJBAQEBs2MAgGZzYmtuaWInAfVzbmpidHNmI/BqdwIDYn9zD+QCECyxNk82TzZIamJqZQDtYnVYZGhyaXMY2AmwBQAgCnEAsFoYV/sgAqMBwBahB6QYSikBkQ/vKSALAgoNYXJpAlRkc25oaScNoGZYHIBYRFFmATFYdwAPdWhkYnR0YmMvLid8GoAVURLwD8EAAC9uaXMuI1hVQlZSQlRTXCUBgHBOaXFOYyUT8Q9hdnJidX4vJQEGUldDRlNCJx1gWHNoWHdHwAXWdAQQJ1RCUycToHNydDo2RORuYzogb4AjBmMOM3pNwQo7DlAYQApnLyN0cmorJ0x/IxqBbmMAkErhYmlzAKABMRuxALAN4BuCDJPLfgGRDJA6JwwnIAFDEWIjBDQVcQ42UGIFgAIgJ39+DgAWEWADkQZhAusBZQLxJwJgCBUCawFlAmAOoSPAABOCAjAlTklUQlVTJ05JU0gnZ4CMFA9oaXRnJy9nD6BnK2cGsTQAZys/zCdnFQMAoQw0ALECAQoRAMEHEWcuCRAMI1FGSH9LHAAvI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mFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
- 27.07.2012 18:20
- Регистрация: 10.11.2011
- Сообщений: 87
- Репутация: 2
- 27.07.2012 19:13
- Регистрация: 27.11.2011
- Сообщений: 54
- Репутация: 12
Пожалуйста:
Код:$idnewoper = 0; $in_curr = "1"; $waytopay_id = DB::fetch_first("SELECT * FROM ".DB::table('common_pluginvar')." WHERE variable='waytopay_id'"); $secretkey_waytopay = DB::fetch_first("SELECT * FROM ".DB::table('common_pluginvar')." WHERE variable='secretkey_waytopay'"); $desc_waytopay = DB::fetch_first("SELECT * FROM ".DB::table('common_pluginvar')." WHERE variable='desc_waytopay'"); $ext_waytopay = DB::fetch_first("SELECT * FROM ".DB::table('common_pluginvar')." WHERE variable='ext_waytopay'"); $kurs_waytopay = DB::fetch_first("SELECT * FROM ".DB::table('common_pluginvar')." WHERE variable='kurs_waytopay'"); $extwayn = $_G['setting']['extcredits'][$ext_waytopay['value']]['title']; $mrh_id = $waytopay_id['value']; $mrh_secret_key = $secretkey_waytopay['value']; $inv_desc = $desc_waytopay['value']; $userid = $_G['uid']; $uname = $_G['username']; $dateline = $_G['timestamp']; $extcredits = DB::fetch_first("SELECT * FROM ".DB::table('common_member_count')." WHERE uid = '$_G[uid]'"); $ext_count = $extcredits['extcredits'.$ext_waytopay['value'].'']; function data_set_operation_processed() { $inv_id = (int)$_REQUEST["wInvId"]; DB::query("UPDATE way_to_pay_operations SET status=1 WHERE id='$inv_id'"); } function data_create_operation($sum, $userid, $comment, $username, $dateline) { $userid = $_REQUEST['userid']; $comment = $_REQUEST['comment']; $username = $_REQUEST['username']; $dateline = $_REQUEST['dateline']; $query = "INSERT INTO `way_to_pay_operations` (`sum`,`user_id`, `status`, `comment`, `username`, `date`) VALUES('$sum', '$userid', '$idnewoper', '$comment', '$username', '$dateline');"; return mysql_query($query); } function data_update_user_balance() { $inv_id = (int)$_REQUEST["wInvId"]; $out_summ = (float)$_REQUEST["wOutSum"]; $ext_waytopay = DB::fetch_first("SELECT * FROM ".DB::table('common_pluginvar')." WHERE variable='ext_waytopay'"); $kurs_waytopay = DB::fetch_first("SELECT * FROM ".DB::table('common_pluginvar')." WHERE variable='kurs_waytopay'"); $idusers = DB::query("SELECT * FROM way_to_pay_operations WHERE id='$inv_id'"); while($operacia = DB::fetch($idusers)) { $useridu = $operacia['user_id']; $c_extcredits = DB::fetch_first("SELECT * FROM ".DB::table('common_member_count')." WHERE uid = '$useridu'"); $add = $c_extcredits['extcredits'.$ext_waytopay['value'].''] + (floor($out_summ * $kurs_waytopay['value'])); $extcredits += $add; $extcredits = addslashes($extcredits); DB::query("UPDATE ".DB::table('common_member_count')." SET `extcredits$ext_waytopay[value]` = '$extcredits' WHERE uid = '$useridu'"); } } function data_user_vsumm() { } function data_update_user_balancelog() { $inv_id = (int)$_REQUEST["wInvId"]; $out_summ = (float)$_REQUEST["wOutSum"]; $idanddate = DB::query("SELECT * FROM way_to_pay_operations WHERE id='$inv_id'"); while($logbase = DB::fetch($idanddate)) { $useridu = $logbase['user_id']; $dataidu = $logbase['date']; DB::query("INSERT INTO `pre_common_credit_log` (`uid`, `operation`, `relatedid`, `dateline`, `extcredits1`, `extcredits2`, `extcredits3`, `extcredits4`, `extcredits5`, `extcredits6`, `extcredits7`, `extcredits8`) VALUES ('$useridu', 'WPL', '$userid', '$dataidu', 0, '$out_summ', 0, 0, 0, 0, 0, 0);"); } }
Спасибо сказали:
SocMaster(27.07.2012), - 27.07.2012 19:23
- Регистрация: 10.11.2011
- Сообщений: 87
- Репутация: 2
music,
Спасибо огромное!
Скажите только что за кодирование использовано?
И безопасен ли скрипт? - 27.07.2012 19:29
- Регистрация: 27.11.2011
- Сообщений: 54
- Репутация: 12
SocMaster, всегда пожалуйста.
Кодирование вполне себе стандартное base64_decode + eval, а на счет безопасности этого фрагмента - ничего сказать не могу, надо смотреть на все сразу.Спасибо сказали:
SocMaster(27.07.2012), - 27.07.2012 19:41
- Регистрация: 10.11.2011
- Сообщений: 87
- Репутация: 2
music,
Еще раз спасибо!
Тему закройте
ответ получен
Тэги топика:
Похожие темы
Темы | Раздел | Ответов | Последний пост |
---|---|---|---|
Помогите | Оффтоп и свободные темы | 8 | 18.07.2012 13:56 |
Помогите | Партнерские программы | 7 | 06.02.2011 20:33 |
Помогите с DLE... | Web программирование | 0 | 23.01.2011 20:30 |
DLE помогите... | Web программирование | 2 | 14.01.2011 00:49 |