nuclei-templates/http/exposures/logs/go-pprof-debug.yaml

35 lines
822 B
YAML

id: go-pprof-debug
info:
name: Go pprof Debug Page
author: w8ay
severity: low
description: go pprof debug page was exposed.
metadata:
max-request: 2
tags: logs,exposure,go,pprof
http:
- method: GET
path:
- "{{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:'
- 'Alloc'
condition: and
- type: word
words:
- "text/plain"
part: header
- type: status
status:
- 200
# digest: 4a0a00473045022100e8bc232ebee21e22bb0acf599dea255eea2f52b7fd9614d0cded0cd6fbf659ea02205ef218e093d97104625cf0925d1cf7b8abf14552f6de09a2d5954fd70c9d11f4:922c64590222798bb761d5b6d8e72950