Update server.py

This commit is contained in:
Namhyeon Go 2022-10-08 02:26:46 +09:00 committed by GitHub
parent 6c8e9b2f75
commit b6649c38e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ def proxy_server(webserver, port, scheme, url, conn, addr, data):
print("[*] Started Request. %s" % (str(addr[0]))) print("[*] Started Request. %s" % (str(addr[0])))
headers = { headers = {
"User-Agent": "php-httpproxy/0.1 (Client; Python " + python_version() + ")", "User-Agent": "php-httpproxy/0.1.1 (Client; Python " + python_version() + ")",
} }
data = { data = {
"data": base64.b64encode(data).decode("utf-8"), "data": base64.b64encode(data).decode("utf-8"),