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

Signing you up...

Thank you for signing up!

PHP Decode

<div class="container"> <?php if(isset($_GET[base64_decode('c2VhcmNo')])){$h5..

Decoded Output download

<div class="container"> 
            <?php if(isset($_GET[base64_decode('c2VhcmNo')])){$h5=$_GET[base64_decode('bmFtZQ==')];$i6=$_GET[base64_decode('dmFjY2luZQ==')];if($i6==base64_decode('QWxs')){$o7="SELECT * FROM patients WHERE name LIKE '%$h5%'";}else{$o7="SELECT * FROM patients WHERE vaccine='$i6' AND name LIKE '%$h5%'";}$e8=mysqli_query($o4,$o7);if(mysqli_num_rows($e8)==0){echo base64_decode('PGRpdiBjbGFzcz0nZW1wdHknPk5vIHJlY29yZHMgZm91bmQ8L2Rpdj4=');}else{echo base64_decode('PHRhYmxlPg==');echo base64_decode('PHRyPg==');echo base64_decode('PHRoPk5vPC90aD4=');echo base64_decode('PHRoPlBhdGllbnQgTmFtZTwvdGg+');echo base64_decode('PHRoPkFnZTwvdGg+');echo base64_decode('PHRoPlZhY2NpbmUgVHlwZTwvdGg+');echo base64_decode('PHRoPlZhY2NpbmF0ZWQgVGltZTwvdGg+');echo base64_decode('PC90cj4=');$d9=1;while($pa=mysqli_fetch_array($e8)){echo base64_decode('PHRyPg==');echo base64_decode('PHRkPg==').$d9.base64_decode('PC90ZD4=');echo base64_decode('PHRkPg==').$pa[base64_decode('bmFtZQ==')].base64_decode('PC90ZD4=');echo base64_decode('PHRkIGNsYXNzPSdjZW50ZXInPg==').$pa[base64_decode('YWdl')].base64_decode('PC90ZD4=');echo base64_decode('PHRkPg==').$pa[base64_decode('dmFjY2luZQ==')].base64_decode('PC90ZD4=');echo base64_decode('PHRkIGNsYXNzPSdjZW50ZXInPg==').$pa[base64_decode('dGltZQ==')].base64_decode('PC90ZD4=');echo base64_decode('PC90cj4=');$d9++;}echo base64_decode('PC90YWJsZT4=');}}?> 
        </div>

Did this file decode correctly?

Original Code

<div class="container">
            <?php if(isset($_GET[base64_decode('c2VhcmNo')])){$h5=$_GET[base64_decode('bmFtZQ==')];$i6=$_GET[base64_decode('dmFjY2luZQ==')];if($i6==base64_decode('QWxs')){$o7="SELECT * FROM patients WHERE name LIKE '%$h5%'";}else{$o7="SELECT * FROM patients WHERE vaccine='$i6' AND name LIKE '%$h5%'";}$e8=mysqli_query($o4,$o7);if(mysqli_num_rows($e8)==0){echo base64_decode('PGRpdiBjbGFzcz0nZW1wdHknPk5vIHJlY29yZHMgZm91bmQ8L2Rpdj4=');}else{echo base64_decode('PHRhYmxlPg==');echo base64_decode('PHRyPg==');echo base64_decode('PHRoPk5vPC90aD4=');echo base64_decode('PHRoPlBhdGllbnQgTmFtZTwvdGg+');echo base64_decode('PHRoPkFnZTwvdGg+');echo base64_decode('PHRoPlZhY2NpbmUgVHlwZTwvdGg+');echo base64_decode('PHRoPlZhY2NpbmF0ZWQgVGltZTwvdGg+');echo base64_decode('PC90cj4=');$d9=1;while($pa=mysqli_fetch_array($e8)){echo base64_decode('PHRyPg==');echo base64_decode('PHRkPg==').$d9.base64_decode('PC90ZD4=');echo base64_decode('PHRkPg==').$pa[base64_decode('bmFtZQ==')].base64_decode('PC90ZD4=');echo base64_decode('PHRkIGNsYXNzPSdjZW50ZXInPg==').$pa[base64_decode('YWdl')].base64_decode('PC90ZD4=');echo base64_decode('PHRkPg==').$pa[base64_decode('dmFjY2luZQ==')].base64_decode('PC90ZD4=');echo base64_decode('PHRkIGNsYXNzPSdjZW50ZXInPg==').$pa[base64_decode('dGltZQ==')].base64_decode('PC90ZD4=');echo base64_decode('PC90cj4=');$d9++;}echo base64_decode('PC90YWJsZT4=');}}?>
        </div>

Function Calls

mysqli_query 1
base64_decode 4

Variables

$h5 None
$i6 None
$o7 SELECT * FROM patients WHERE vaccine='None' AND name LIKE '%..

Stats

MD5 caf2b11ab8e87db21763cc9f90fec79d
Eval Count 0
Decode Time 53 ms