nuclei-templates/http/exposures/tokens/wireguard/wireguard-private-key.yaml

27 lines
875 B
YAML

id: wireguard-private-key
info:
name: WireGuard Private Key
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/wireguard.yml
- https://www.wireguard.com/quickstart/
- https://manpages.debian.org/testing/wireguard-tools/wg.8.en.html
- https://gist.github.com/lanceliao/5d2977f417f34dda0e3d63ac7e217fd
metadata:
verified: true
max-request: 1
tags: wireguard,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- PrivateKey\s*=\s*([A-Za-z0-9+/]{43}=)
# digest: 490a004630440220404a92bbcad156e5ea0184cee84768d3c769f16a8bffafd6a3dbde2eb8f283020220402df136a75202c4505a2cc5bbcb2ae755a4eac54668f3d3cb280297d1393f23:922c64590222798bb761d5b6d8e72950