mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-06 18:01:07 +00:00
Update server.py
This commit is contained in:
parent
872c9c2e3e
commit
0d3ae9d2a7
|
@ -177,7 +177,8 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
|
||||||
print ("[*] Found ID: %s" % (', '.join(matches)))
|
print ("[*] Found ID: %s" % (', '.join(matches)))
|
||||||
filtered = not all(map(pwnedpasswords_test, matches))
|
filtered = not all(map(pwnedpasswords_test, matches))
|
||||||
|
|
||||||
# f: download_base64string
|
# check an attached images
|
||||||
|
if truecaptcha_userid != '':
|
||||||
def download_base64string(url):
|
def download_base64string(url):
|
||||||
try:
|
try:
|
||||||
response = requests.get(url)
|
response = requests.get(url)
|
||||||
|
@ -188,7 +189,6 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
|
||||||
except:
|
except:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# check an attached images
|
|
||||||
urls = []
|
urls = []
|
||||||
if not filtered:
|
if not filtered:
|
||||||
urls = re.findall(r'https?://[^\s]+?\.webp\b', text)
|
urls = re.findall(r'https?://[^\s]+?\.webp\b', text)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user