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 $in = uv_pipe_init(uv_default_loop(), true); $out = uv_pipe_init(uv_default_loop()..

Decoded Output download

<?php

$in  = uv_pipe_init(uv_default_loop(), true);
$out = uv_pipe_init(uv_default_loop(), true);

echo "HELLO ";

$stdio = array();
$stdio[] = uv_stdio_new($in, UV::CREATE_PIPE | UV::READABLE_PIPE);
$stdio[] = uv_stdio_new($out, UV::CREATE_PIPE | UV::WRITABLE_PIPE);

$flags = 0;
uv_spawn(uv_default_loop(), "php", array('-r','var_dump($_ENV);'), $stdio, "/usr/bin/", 
    array("KEY"=>"hello"), 
    function($process, $stat, $signal){
	    uv_close($process,function(){});

}, $flags);

uv_read2_start($out, function($out, $nread, $buffer, $stat){
    echo $buffer;

    uv_close($out,function(){});
});

uv_run();
 ?>

Did this file decode correctly?

Original Code

<?php

$in  = uv_pipe_init(uv_default_loop(), true);
$out = uv_pipe_init(uv_default_loop(), true);

echo "HELLO ";

$stdio = array();
$stdio[] = uv_stdio_new($in, UV::CREATE_PIPE | UV::READABLE_PIPE);
$stdio[] = uv_stdio_new($out, UV::CREATE_PIPE | UV::WRITABLE_PIPE);

$flags = 0;
uv_spawn(uv_default_loop(), "php", array('-r','var_dump($_ENV);'), $stdio, "/usr/bin/", 
    array("KEY"=>"hello"), 
    function($process, $stat, $signal){
	    uv_close($process,function(){});

}, $flags);

uv_read2_start($out, function($out, $nread, $buffer, $stat){
    echo $buffer;

    uv_close($out,function(){});
});

uv_run();

Function Calls

uv_default_loop 1

Variables

None

Stats

MD5 796557bb4a28b438521be2724520eb2a
Eval Count 0
Decode Time 89 ms