Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$_F=__FILE__;$_X='P0VzP3UydW1QKm1iYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJi..
Decoded Output download
?><?php
/*
=====================================================
DataLife Engine - by SoftNews Media Group
-----------------------------------------------------
https://dle-news.ru/
-----------------------------------------------------
Copyright (c) 2004-2023 SoftNews Media Group
=====================================================
This code is protected by copyright
=====================================================
File: banned.php
-----------------------------------------------------
Use: Banned users
=====================================================
*/
if( !defined('DATALIFEENGINE') ) {
header( "HTTP/1.1 403 Forbidden" );
header ( 'Location: ../../' );
die( "Hacking attempt!" );
}
$this_time = time();
$del = false;
$blocked = false;
$sel_banned = $db->query( "SELECT users_id FROM " . USERPREFIX . "_banned WHERE days != '0' AND date < '$this_time'" );
while ( $row = $db->get_row( $sel_banned ) ) {
$del = true;
if( $row['users_id'] ) $db->query( "UPDATE " . USERPREFIX . "_users SET banned='' WHERE user_id = '{$row['users_id']}'" );
}
$db->free( $sel_banned );
if( $del ) {
$db->query( "DELETE FROM " . USERPREFIX . "_banned WHERE days != '0' AND date < '$this_time'" );
@unlink( ENGINE_DIR . '/cache/system/banned.php' );
}
if( $blockip ) {
$blocked = true;
if( $banned_info['ip'][$blockip]['date'] ) {
if( $banned_info['ip'][$blockip]['date'] > $this_time ) $endban = langdate( "j M Y H:i", $banned_info['ip'][$blockip]['date'], true );
else $blocked = false;
} else $endban = $lang['banned_info'];
$descr = $lang['ip_block'] . "<br /><br />" . $banned_info['ip'][$blockip]['descr'];
} elseif( $banned_info['users_id'][$member_id['user_id']]['users_id'] ) {
$blocked = true;
if( $banned_info['users_id'][$member_id['user_id']]['date'] ) {
if( $banned_info['users_id'][$member_id['user_id']]['date'] > $this_time ) $endban = langdate( "j M Y H:i", $banned_info['users_id'][$member_id['user_id']]['date'], true );
else $blocked = false;
} else $endban = $lang['banned_info'];
$descr = $banned_info['users_id'][$member_id['user_id']]['descr'];
}
if( $blocked ) {
$tpl->dir = ROOT_DIR . '/templates';
$tpl->load_template( 'banned.tpl' );
$tpl->set( '{description}', $descr );
$tpl->set( '{end}', $endban );
$tpl->compile( 'content' );
@header("Content-type: text/html; charset=".$config['charset']);
echo $tpl->result['content'];
die();
}
?>
Did this file decode correctly?
Original Code
$_F=__FILE__;$_X='P0VzP3UydW1QKm1iYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYm1dazV3NS9STnBdPjhDUjhwXS1dVHFdPC5Od01wVk9dSXByUjVdbjkudnVdbS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tbV0yd3d1TzpQUHJXcC04cFZPWjl2UG0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLW1dZC51cTlSQzJ3XShCKV1LeHh5LUt4S0hdPC5Od01wVk9dSXByUjVdbjkudnVtYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJtXQoyUk9dQi5ycF1ST111OS53cEJ3cHJdVHFdQi51cTlSQzJ3bWJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJibV10UldwOl1UNTg4cHJadTJ1bS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tbV1qT3A6XVk1ODhwcl12T3A5T21iYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYm0qUG1tUk4oXSFycE5SOHByKCdrRwpHL310Pj5Nbn1NPicpXSldZm0JMnA1cnA5KF0iegoKe1A2WjZdeXhIXXQuOVR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UScsXSRycE9COV0pO20JJHd1Vy1FT3B3KF0nZnA4clEnLF0kcDhyVDU4XSk7bQkkd3VXLUVCLjR1UldwKF0nQi44d3A4dyddKTttbQlAMnA1cnA5KCJkLjh3cDh3LXdxdXA6XXdwWHdQMnc0VztdQjI1OU9wd2IiWiRCLjhOUkNjJ0IyNTlPcHcnUyk7bQlwQjIuXSR3dVctRTlwT3ZXd2MnQi44d3A4dydTO20JclJwKCk7bW1RbT9F';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdhOWlReW5UbTI2TFBSa2QuZwo0XTdxdXhTPXo1WU1JQWN7PFZLVUVCb3JaZVtoMWJIIDBmRDh0Pk4vakN9c0ZPWHdKcHZXM2xHJywnSnI5fTRHYgpoMU8vaURDb1FUbSB2eXAwXVhIYUJOTXpbUFN3MnE+Y2tkLlY1S1k9M1I2e1puRkVmTFVnSTxXc3h0OGV1bDdqQScpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | bcc2d57c48a7d29e38219b9ec6efd90d |
Eval Count | 2 |
Decode Time | 44 ms |