Detection for Java Spring (#4012)
* Updated CVE-2022-22963 * Added Spring Detect Template * Added Spring Detect Template * Added Status Code Check * Updated Status Code Check * Update spring-detect.yaml * misc update Co-authored-by: sandeep <sandeep@projectdiscovery.io>patch-1
parent
a26950ce1b
commit
dec2ff4022
|
@ -0,0 +1,28 @@
|
|||
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"
|
||||
|
||||
redirects: true
|
||||
max-redirects: 2
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"status":999'
|
||||
case-insensitive: true
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 500
|
Loading…
Reference in New Issue