mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 15:31:45 +00:00
Update server.py
This commit is contained in:
parent
5d0c3d5f4e
commit
74791320cb
|
@ -134,7 +134,7 @@ def proxy_check_filtered(response, webserver, port):
|
|||
|
||||
text = response.decode(client_encoding, errors='ignore')
|
||||
|
||||
filtered = text.find('@misskey.io') > -1 or text.find('ctkpaarr') > -1 or bool(re.search(r'\b\w{10}@\w+\.\w+\b', text))
|
||||
filtered = text.find('@misskey.io') > -1 or text.find('ctkpaarr') > -1 or bool(re.search(r'\b\w{10}@(?:\w+\.)+\w+\b', text))
|
||||
if filtered:
|
||||
print ("[*] filtered from %s:%s" % (webserver.decode(client_encoding), str(port)))
|
||||
#print ("[*] ====== start response data =====")
|
||||
|
|
Loading…
Reference in New Issue
Block a user