Update server.py

This commit is contained in:
Namhyeon Go 2024-02-19 16:18:47 +09:00 committed by GitHub
parent 83976959e3
commit 0b85133ca7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,7 +204,7 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
print ("[*] downloaded.") print ("[*] downloaded.")
if encoded_image: if encoded_image:
print ("[*] solving...") print ("[*] solving...")
solved = truecaptcha_solve(base64string) solved = truecaptcha_solve(encoded_image)
if solved: if solved:
print ("[*] solved: %s" % (solved)) print ("[*] solved: %s" % (solved))
filtered = solved in ['ctkpaarr', 'SPAM'] filtered = solved in ['ctkpaarr', 'SPAM']