id: wireguard-preshared-key info: name: WireGuard Preshared 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: - PresharedKey\s*=\s*([A-Za-z0-9+/]{43}=) # digest: 4a0a00473045022100f55458fb9c76ba743d2cb604f9b1d06309eb9ca337bd5b9d875b87162c9b3e0d02207dd02cf5e9dda6450e2331b9f26b64d26f834cddd8d2eeea42799f66dd58d339:922c64590222798bb761d5b6d8e72950