additional matcher

patch-1
Ritik Chaddha 2024-01-22 11:57:57 +05:30 committed by GitHub
parent 1fbdbae033
commit 31e8fdf87a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
id: go-pprof-debug
info:
name: go pprof debug page
name: Go pprof Debug Page
author: w8ay
severity: low
description: go pprof debug page was exposed.
@ -13,11 +13,14 @@ http:
- "{{BaseURL}}/debug/pprof/heap?debug=1"
- "{{BaseURL}}/pprof/heap?debug=1"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- 'heap profile'
- 'heap profile:'
- 'Alloc'
condition: and
- type: word
words:
@ -26,4 +29,4 @@ http:
- type: status
status:
- 200
- 200