mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-06 01:41:00 +00:00
Update fediverse.py
This commit is contained in:
parent
bb8cc5f1da
commit
e94674c5d8
|
@ -39,9 +39,7 @@ class Fediverse(Filter):
|
||||||
self.known_words = [word.strip() for word in words if len(word.strip()) > 3]
|
self.known_words = [word.strip() for word in words if len(word.strip()) > 3]
|
||||||
print ("[*] Data loaded to use KnownWords4 strategy")
|
print ("[*] Data loaded to use KnownWords4 strategy")
|
||||||
|
|
||||||
def test(self, data):
|
def test(self, filtered, data, webserver, port, scheme, method, url):
|
||||||
filtered = False
|
|
||||||
|
|
||||||
# prevent cache confusing
|
# prevent cache confusing
|
||||||
if data.find(b'<title>Welcome to nginx!</title>') > -1:
|
if data.find(b'<title>Welcome to nginx!</title>') > -1:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user