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='P0pnP2l3aTlBKjlSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJS..
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: deletecomments.php
-----------------------------------------------------
Use: comments delete
=====================================================
*/
if(!defined('DATALIFEENGINE')) {
header( "HTTP/1.1 403 Forbidden" );
header ( 'Location: ../../' );
die( "Hacking attempt!" );
}
if( !$is_logged ) die( "error" );
$id = intval( $_REQUEST['id'] );
if( ! $id ) die( "error" );
$row = $db->super_query( "SELECT id, post_id, user_id, date, is_register FROM " . PREFIX . "_comments WHERE id = '{$id}'" );
if ($row['id']) {
$have_perm = false;
$row['date'] = strtotime( $row['date'] );
if( $_GET['dle_allow_hash'] != "" AND $_GET['dle_allow_hash'] == $dle_login_hash AND (($member_id['user_id'] == $row['user_id'] AND $row['is_register'] AND $user_group[$member_id['user_group']]['allow_delc']) OR $member_id['user_group'] == '1' OR $user_group[$member_id['user_group']]['del_allc']) ) $have_perm = true;
if ( $user_group[$member_id['user_group']]['edit_limit'] AND (($row['date'] + ($user_group[$member_id['user_group']]['edit_limit'] * 60)) < $_TIME) ) {
$have_perm = false;
}
if( $have_perm ) {
deletecomments( $row['id'] );
if ( $config['allow_alt_url'] AND !$config['seo_type'] ) $cprefix = "full_"; else $cprefix = "full_".$row['post_id'];
clear_cache( array( 'news_', 'rss', 'stats', 'comm_'.$row['post_id'], $cprefix ) );
echo $row['id'];
} else die( "error" );
} else die( "error" );
?>
Did this file decode correctly?
Original Code
$_F=__FILE__;$_X='P0pnP2l3aTlBKjlSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJ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WlhJ3UgKSAkRWlzYVpHfSBSICJaUW5uXyI7IGFuRGEgJEVpc2FaR30gUiAiWlFubl8ieiRzZj1LJ2lmRGVfR1cndTs5OQkJRW5heHNfRXhFd2EoIHhzc3hNKCAnNmE9RF8nLCAnc0REJywgJ0RleGVEJywgJ0VmWVlfJ3okc2Y9SydpZkRlX0dXJ3UsICRFaXNhWkd9ICkgKTs5CQk5CQlhRXdmICRzZj1LJ0dXJ3U7OQk5CTggYW5EYSBXR2EoICJhc3NmcyIgKTs5OTggYW5EYSBXR2EoICJhc3NmcyIgKTs5P0o=';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdGYmVhcTY1M0hdamlHeTxzQVtDb1EvMGRoLkVYCndPRGdScEtadT1WbWtKVWxNNDJZQnhOUEk+YyB7TFR9bld2MTdydHo5UzhmJywnVmt0ZVduOUNnTE1waXFQci96T0t1OElTNTNjWGJoMXM8PXtbZl13NGowPlVIeUY2bVRhWjdKUVIgWUcyeGxkTkF2REUuCkJ9bycpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | 82794e85b07989a1ff7d4f011d99b41b |
Eval Count | 2 |
Decode Time | 81 ms |