mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 15:05:00 +00:00
Update server.py
This commit is contained in:
parent
a055976125
commit
f35b614325
|
@ -165,7 +165,7 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
|
|||
# convert to text
|
||||
text = data.decode(client_encoding, errors='ignore')
|
||||
|
||||
# ID filtering with K-Anonymity
|
||||
# ID validation with K-Anonymity
|
||||
pattern = r'[/@]([a-zA-Z0-9]{10})(?![a-zA-Z0-9])'
|
||||
matches = re.findall(pattern, text)
|
||||
if len(matches) > 0:
|
||||
|
|
Loading…
Reference in New Issue
Block a user