2022-03-31 16:48:10 +00:00
|
|
|
id: spring-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Java Spring Detection
|
|
|
|
author: Adam Crosser
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://mkyong.com/spring-boot/spring-rest-error-handling-example/
|
|
|
|
tags: tech,java,spring
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/error"
|
|
|
|
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2022-03-31 16:48:10 +00:00
|
|
|
max-redirects: 2
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"status":999'
|
|
|
|
case-insensitive: true
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|