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/
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: tech,java,spring
|
2022-03-31 16:48:10 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-03-31 16:48:10 +00:00
|
|
|
- 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
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-03-31 16:48:10 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"status":999'
|
|
|
|
case-insensitive: true
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100b109a7a97f82986b4b290c92649e7658f02cfe88fde195883fed0b33182085ce02210083e3e231d1c41967299c7c16f0005d0c71d2b3870e1714271700e9b1abb675b8:922c64590222798bb761d5b6d8e72950
|