Merge pull request #2442 from pdelteil/patch-38

Create springboot-info.yaml
patch-1
Sandeep Singh 2021-09-17 02:22:08 +05:30 committed by GitHub
commit 067247401b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
id: springboot-info
info:
name: Detect Springboot Information page
author: philippedelteil
severity: info
description: Displays app name and version information among others values
tags: springboot
requests:
- method: GET
path:
- "{{BaseURL}}/info"
- "{{BaseURL}}/actuator/info"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"build"'
- '"artifact"'
condition: and
- type: status
status:
- 200
- type: word
words:
- "application/json"
- "application/vnd.spring-boot.actuator"
- "application/vnd.spring-boot.actuator.v2+json"
- "application/vnd.spring-boot.actuator.v1+json"
condition: or
part: header