Create springboot-beans.yaml
parent
aabf384e39
commit
842d62bb40
|
@ -0,0 +1,36 @@
|
||||||
|
id: springboot-beans
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Detect Springboot Beans Actuator
|
||||||
|
author: ajaysenr
|
||||||
|
severity: low
|
||||||
|
description: Displays a complete list of all the Spring beans in the application
|
||||||
|
tags: springboot,disclosure
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/beans"
|
||||||
|
- "{{BaseURL}}/actuator/beans"
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
part: body
|
||||||
|
words:
|
||||||
|
- '"type"'
|
||||||
|
- '"beans"'
|
||||||
|
- '"dependencies"'
|
||||||
|
- '"scope"'
|
||||||
|
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
|
Loading…
Reference in New Issue