fix template
parent
28b1b52f90
commit
9fa26f2fca
|
@ -1,27 +0,0 @@
|
|||
id: springboot-detect
|
||||
|
||||
info:
|
||||
name: Java Spring Boot Detection
|
||||
author: Matt Miller
|
||||
severity: info
|
||||
reference:
|
||||
- https://codingnconcepts.com/spring-boot/disable-whitelabel-error-page-spring-boot/
|
||||
tags: tech,java,spring,springboot
|
||||
metadata:
|
||||
max-request: 1
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "Whitelabel Error Page"
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 404
|
|
@ -0,0 +1,34 @@
|
|||
id: springboot-whitelabel
|
||||
|
||||
info:
|
||||
name: SpringBoot WhiteLabel Error Page - Detect
|
||||
author: Matt Miller
|
||||
severity: info
|
||||
reference:
|
||||
- https://codingnconcepts.com/spring-boot/disable-whitelabel-error-page-spring-boot/
|
||||
metadata:
|
||||
max-request: 1
|
||||
shodan:query: html:"Whitelabel Error Page"
|
||||
verified: true
|
||||
tags: tech,spring,springboot,errorpage
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
GET / HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
|
||||
|
||||
host-redirects: true
|
||||
max-redirects: 3
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "<h1>Whitelabel Error Page</h1>"
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
words:
|
||||
- "text/html"
|
Loading…
Reference in New Issue