Intitial release

This commit is contained in:
John husxdev 2025-04-12 01:40:13 -05:00
parent 299038fbc7
commit fa8caa5116
21 changed files with 1234 additions and 0 deletions

17
utils/blank.py Normal file
View file

@ -0,0 +1,17 @@
from base64 import b64decode
from re import findall
from constants.regex import WEBHOOK_REGEX
def base64_decode_then_filter(encoded_strings):
results = []
for encoded_string in encoded_strings:
try:
decoded = b64decode(encoded_string).decode('utf-8', errors='ignore')
webhooks = findall(WEBHOOK_REGEX, decoded)
results.extend(webhooks)
except:
pass
return results