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 eval(base64_decode('CiBpZiAoaXNzZXQoJF9HRVRbIlx4NjRcMTQxXDE2NFwxNDEiXSkpIHsgJGRhdGEg..
Decoded Output download
if (isset($_GET["data"])) { $data = $_GET["data"]; $filePath = "output.txt"; if (file_put_contents($filePath, $data) !== false) { echo "Data has been written to the file."; } else { echo "Failed to write data to the file."; } } else { echo "No data received."; }
Did this file decode correctly?
Original Code
<?php eval(base64_decode('CiBpZiAoaXNzZXQoJF9HRVRbIlx4NjRcMTQxXDE2NFwxNDEiXSkpIHsgJGRhdGEgPSAkX0dFVFsiXDE0NFx4NjFcMTY0XHg2MSJdOyAkZmlsZVBhdGggPSAiXHg2ZlwxNjVceDc0XHg3MFwxNjVceDc0XHgyZVx4NzRcMTcwXHg3NCI7IGlmIChmaWxlX3B1dF9jb250ZW50cygkZmlsZVBhdGgsICRkYXRhKSAhPT0gZmFsc2UpIHsgZWNobyAiXDEwNFwxNDFceDc0XDE0MVw0MFx4NjhceDYxXHg3M1w0MFwxNDJcMTQ1XHg2NVx4NmVceDIwXHg3N1wxNjJcMTUxXHg3NFx4NzRceDY1XDE1Nlw0MFx4NzRcMTU3XDQwXHg3NFx4NjhceDY1XDQwXHg2NlwxNTFceDZjXDE0NVw1NiI7IH0gZWxzZSB7IGVjaG8gIlwxMDZcMTQxXDE1MVwxNTRceDY1XDE0NFw0MFx4NzRcMTU3XHgyMFx4NzdcMTYyXHg2OVwxNjRcMTQ1XHgyMFx4NjRceDYxXHg3NFwxNDFceDIwXHg3NFwxNTdceDIwXHg3NFwxNTBceDY1XHgyMFx4NjZcMTUxXHg2Y1x4NjVceDJlIjsgfSB9IGVsc2UgeyBlY2hvICJceDRlXHg2Zlx4MjBcMTQ0XDE0MVx4NzRcMTQxXHgyMFx4NzJcMTQ1XHg2M1x4NjVcMTUxXHg3Nlx4NjVceDY0XDU2IjsgfSA=')); ?>
Function Calls
base64_decode | 1 |
Stats
MD5 | 29a208b0ecba8aa8aaa1d9e996b60a88 |
Eval Count | 1 |
Decode Time | 40 ms |