mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-03-12 00:45:16 +00:00
Update server.py
This commit is contained in:
parent
53e8ea4440
commit
8885a1377d
|
@ -166,7 +166,7 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
|
|||
text = data.decode(client_encoding, errors='ignore')
|
||||
|
||||
# ID validation with K-Anonymity
|
||||
pattern = r'(?<=\/@)([a-zA-Z0-9]{10})'
|
||||
pattern = r'\b(?:(?<=\/@)|(?<=acct:))([a-zA-Z0-9]{10})\b'
|
||||
matches = list(set(re.findall(pattern, text)))
|
||||
if len(matches) > 0:
|
||||
print ("[*] Found ID: %s" % (', '.join(matches)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user