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 if (isset($_POST['input'])) { if(!preg_match('/[a-zA-Z`]/', $_POST['input']..
Decoded Output download
<p>Dangerous code detected</p>
Did this file decode correctly?
Original Code
<?php
if (isset($_POST['input'])) {
if(!preg_match('/[a-zA-Z`]/', $_POST['input'])){
print '<fieldset><legend>Result</legend>';
eval('print '.$_POST['input'].";");
print '</fieldset>';
}
else
echo "<p>Dangerous code detected</p>";
}
?>
Function Calls
| preg_match | 1 |
Stats
| MD5 | fa82c4f771d2b591e5b113b39c305d78 |
| Eval Count | 0 |
| Decode Time | 122 ms |