Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
#!/usr/bin/php <?php function y($m) { $m = preg_replace("/\ x /", " x ", $m); $m = preg_..
Decoded Output download
#!/usr/bin/php
<?php
function y($m) { $m = preg_replace("/\ x /", " x ", $m); $m = preg_replace("/ y/", " y", $m); return $m; }
function x($y, $z) { $a = file_get_contents($y); $a = preg_replace("/(\(x ( x *)\))/e", "y(\"\2\")", $a); $a = preg_replace("/\(/", "(", $a); $a = preg_replace("/\)/", ")", $a); return $a; }
$r = x($argv(1), $argv(2)); print $r;
?>
= preg_replace("/\/", ")", $a); return $a; }
$r = x($argv(1), $argv(2)); print $r;
?>
Did this file decode correctly?
Original Code
#!/usr/bin/php
<?php
function y($m) { $m = preg_replace("/\ x /", " x ", $m); $m = preg_replace("/ y/", " y", $m); return $m; }
function x($y, $z) { $a = file_get_contents($y); $a = preg_replace("/(\(x ( x *)\))/e", "y(\"\\2\")", $a); $a = preg_replace("/\(/", "(", $a); $a = preg_replace("/\)/", ")", $a); return $a; }
$r = x($argv(1), $argv(2)); print $r;
?>
= preg_replace("/\/", ")", $a); return $a; }
$r = x($argv(1), $argv(2)); print $r;
?>
Function Calls
0 | 1 |
Stats
MD5 | 37799dfa3d7e433246a47c5477513910 |
Eval Count | 0 |
Decode Time | 48 ms |