nuclei-templates/http/exposures/tokens/age/age-secret-key.yaml

28 lines
845 B
YAML

id: age-secret-key
info:
name: Age Identity (X22519 secret key)
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/age.yml
- https://github.com/FiloSottile/age/blob/main/doc/age.1.html
- https://github.com/C2SP/C2SP/blob/8b6a842e0360d35111c46be2a8019b2276295914/age.md#the-x25519-recipient-type
metadata:
verified: true
max-request: 1
tags: age-encryption,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '\bAGE-SECRET-KEY-1[0-9A-Z]{58}\b'
# digest: 4a0a00473045022100d45e060b5b43030e5f738232746ac9c0b78542a6fee863c17a611991d4aaffe5022016845be75d028ba57adc69e58f8b986ae8f19cb5800e6852adb16f5f4f1c9222:922c64590222798bb761d5b6d8e72950