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='P2lGPzRWNHhkKnhVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV..
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: download.class.php
-----------------------------------------------------
Use: Download files
=====================================================
*/
if( !defined( 'DATALIFEENGINE' ) ) {
header( "HTTP/1.1 403 Forbidden" );
header ( 'Location: ../../' );
die( "Hacking attempt!" );
}
class download {
var $properties = array ();
var $range = 0;
function __construct($path, $name, $driver) {
DLEFiles::init();
if ( !DLEFiles::FileExists( $path, $driver ) ) {
header( "HTTP/1.1 403 Forbidden" );
die ( "The file was not found on the server" );
}
$size = DLEFiles::Size( $path, $driver );
$type = DLEFiles::MimeType( $path, $driver );
if ( DLEFiles::$error ){
header( "HTTP/1.1 403 Forbidden" );
echo DLEFiles::$error;
die ();
}
$this->properties = array ('path' => $path, 'name' => $name, 'disk' => $driver, 'type' => $type, 'size' => $size);
}
function download_file() {
header( $_SERVER['SERVER_PROTOCOL'] . " 200 OK" );
header( "Pragma: public" );
header( "Expires: 0" );
header( "Cache-Control: must-revalidate, post-check=0, pre-check=0");
header( "Cache-Control: private", false);
if( $this->properties['type'] ) {
header( "Content-Type: " . $this->properties['type'] );
} else {
header( "Content-Type: application/octet-stream" );
}
header( 'Content-Disposition: attachment; filename="' . $this->properties['name'] . '"' );
header( "Content-Transfer-Encoding: binary" );
header( "Content-Length: " . $this->properties['size'] );
header('Accept-Ranges: bytes');
header("Connection: close");
@ini_set( 'max_execution_time', 0 );
@set_time_limit(0);
$this->_download();
}
function _download() {
@ob_end_clean();
$handle = DLEFiles::ReadStream( $this->properties['path'], $this->properties['disk']);
if ( DLEFiles::$error ){
header( "HTTP/1.1 403 Forbidden" );
echo DLEFiles::$error;
die ();
}
if (is_resource($handle)) {
while ( !feof( $handle ) ) {
print( fread( $handle, 8192 ) );
ob_flush();
flush();
}
fclose( $handle );
}
}
}
Did this file decode correctly?
Original Code
$_F=__FILE__;$_X='P2lGPzRWNHhkKnhVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVXh7UTl6OWVqSkR7S1tXaltEey17bjh7cENKellEQSB7QkRHajl7RWhDMTR7eC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0teHtWeno0IDpkZEc1RC1bREEgT2gxZHgtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXh7SEM0OGhqV1Z6eyhaKXs9VFRjLT1UPXF7cENKellEQSB7QkRHajl7RWhDMTR4VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV4e3NWaiB7WkNHRHtqIHs0aEN6RFp6REd7bjh7WkM0OGhqV1Z6eFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVeHt3ajVEOntHQ0FbNUM5R09aNTkgIE80VjR4LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS14e00gRDp7UUNBWzVDOUd7Smo1RCB4VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV4KmR4eGpKKHshR0RKaltERyh7J1Evcy9lLndLS1lFLllLJ3speyl7PngJVkQ5R0RoKHsiTHNza2RtT217Y1Rxe3dDaG5qR0dEWyJ7KTt4CVZEOUdEaHsoeydlQ1o5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T217Y1Rxe3dDaG5qR0dEWyJ7KTt4CQkJRFpWQ3tRZUt3ajVEIDo6JERoaENoO3gJCQlHakR7KCk7eAkJZ3gJCXgJCWpKeyhqIF9oRCBDMWhaRCgkVjlbRzVEKSl7PngJCXgJCQlBVmo1RHsoeyFKRENKKHskVjlbRzVEeyl7KXs+eAkJCQk0aGpbeih7SmhEOUcoeyRWOVtHNUQse11tdj17KXspO3gJCQkJQ25fSjUxIFYoKTt4CQkJCUo1MSBWKCk7eAkJCWd4CQkJeAkJCUpaNUMgRCh7JFY5W0c1RHspO3gJCWd4CWd4eGd4';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdSZTUvMFVYW103e1dTcDxKSEZBdVpjbmdmckxLIGlUdlEySUJtTzZNZDhiPT54b0dDcTNzOWp6NGFrCnR5LmxOVlB3WTFFaH1EJywnbUxsQVI9Qm44ViBnUVNxZkM8d0pjNGJ9T1tIRXM+MDlES3ZNMS5qVS95WjJ7Cl1kbzNrVGFpdHBZUFc2eEl6WGg1Rk51R3I3ZScpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | c7a39dc94667eec4d2521b378311a3a3 |
Eval Count | 2 |
Decode Time | 61 ms |