diff --git a/server.py b/server.py index 2d8d3e8..2b4c448 100644 --- a/server.py +++ b/server.py @@ -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})(?![a-zA-Z0-9])' + pattern = r'(?<=\/@)([a-zA-Z0-9]{10})' matches = list(set(re.findall(pattern, text))) if len(matches) > 0: print ("[*] Found ID: %s" % (', '.join(matches)))