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: if not filtered:
print ("[*] downloading...") print ("[*] downloading...")
base64string = download_base64string(url) base64string = download_base64string(url)
print ("[*] solving...") if base64string:
solved = truecaptcha_solve(base64string) print ("[*] solving...")
print ("[*] solved: %s" % (solved)) solved = truecaptcha_solve(base64string)
filtered = solved in ['ctkpaarr', 'SPAM'] print ("[*] solved: %s" % (solved))
filtered = solved in ['ctkpaarr', 'SPAM']
# take action # take action
if filtered: if filtered: