Update fediverse.py

This commit is contained in:
Namhyeon Go 2024-10-08 23:55:37 +09:00 committed by GitHub
parent 5618186699
commit 0b1bfadd8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@
# https://github.com/gnh1201/caterpillar # https://github.com/gnh1201/caterpillar
# #
# Created in: 2022-10-06 # Created in: 2022-10-06
# Updated in: 2024-07-06 # Updated in: 2024-10-08
# #
import base64 import base64
import hashlib import hashlib
@ -167,6 +167,9 @@ class Fediverse(Extension):
"[*] Not CAPTCHA strategy not working!", exc_info=e "[*] Not CAPTCHA strategy not working!", exc_info=e
) )
if filtered:
logger.info("[*] BLOCKED MESSAGE: %s" % (text))
return filtered return filtered
# Strategy: K-Anonymity test - use api.pwnedpasswords.com # Strategy: K-Anonymity test - use api.pwnedpasswords.com