Adding springboot-detect-logfile

patch-1
PD-Team 2021-01-28 21:35:48 +05:30
parent 0eee24b932
commit a9c9809283
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: springboot-detect-logfile
info:
name: Detect Springboot Logfile
author: that_juan_ & dwisiswant0 & wdahlenb
severity: low
requests:
- method: GET
path:
- "{{BaseURL}}/logfile"
- "{{BaseURL}}/actuator/logfile"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'logfile'
- '"profiles":'
condition: and
- type: status
status:
- 200
- type: word
words:
- "application/json"
- "application/vnd.spring-boot.actuator"
- "application/vnd.spring-boot.actuator.v1+json"
condition: or
part: header