2025-06-24 17:17:16 -07:00
|
|
|
rules:
|
|
|
|
|
- name: reCAPTCHA API Key
|
|
|
|
|
id: kingfisher.recaptcha.1
|
|
|
|
|
pattern: |
|
|
|
|
|
(?xi)
|
|
|
|
|
recaptcha
|
|
|
|
|
(?:.|[\n\r]){0,16}?
|
|
|
|
|
\b
|
|
|
|
|
(
|
|
|
|
|
6l[c-f][a-z0-9_-].{36}
|
|
|
|
|
)
|
2025-11-04 13:55:31 -05:00
|
|
|
pattern_requirements:
|
2026-02-10 19:24:19 -08:00
|
|
|
min_digits: 1
|
2025-06-24 17:17:16 -07:00
|
|
|
min_entropy: 3
|
|
|
|
|
confidence: medium
|
|
|
|
|
examples:
|
|
|
|
|
- recaptcha apikey = 6Lcr--w-BBBBBw-w-w----w-w-www-www--ww-w-
|
|
|
|
|
- recaptcha_secret = 6Lcw--w-AAAAAw-w-w----w-w-www-www--ww-w-
|
|
|
|
|
validation:
|
|
|
|
|
type: Http
|
|
|
|
|
content:
|
|
|
|
|
request:
|
|
|
|
|
headers:
|
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
body: |
|
|
|
|
|
secret={{ TOKEN }}
|
|
|
|
|
response=test
|
|
|
|
|
method: POST
|
|
|
|
|
response_matcher:
|
|
|
|
|
- report_response: true
|
|
|
|
|
- match_all_words: true
|
|
|
|
|
type: WordMatch
|
|
|
|
|
words:
|
|
|
|
|
- '"success": true'
|
2026-02-10 19:24:19 -08:00
|
|
|
url: https://www.google.com/recaptcha/api/siteverify
|
|
|
|
|
references:
|
|
|
|
|
- https://developers.google.com/recaptcha/docs/verify
|