Update server.py

This commit is contained in:
Namhyeon Go 2024-02-19 15:29:38 +09:00 committed by GitHub
parent fd5ac87833
commit 5cfa15d5cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,10 +197,11 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
if not filtered:
print ("[*] downloading...")
base64string = download_base64string(url)
print ("[*] solving...")
solved = truecaptcha_solve(base64string)
print ("[*] solved: %s" % (solved))
filtered = solved in ['ctkpaarr', 'SPAM']
if base64string:
print ("[*] solving...")
solved = truecaptcha_solve(base64string)
print ("[*] solved: %s" % (solved))
filtered = solved in ['ctkpaarr', 'SPAM']
# take action
if filtered: