Update server.py

This commit is contained in:
Namhyeon Go 2024-02-27 16:13:56 +09:00 committed by GitHub
parent a168daee4b
commit 83737a2e9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -543,7 +543,7 @@ def proxy_server(webserver, port, scheme, method, url, conn, addr, data):
"datetime": datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")
}
}
_, raw_data = jsonrpc2_encode(proxy_data['data'])
_, raw_data = jsonrpc2_encode('relay_request', proxy_data['data'])
print("[*] Sending %s bytes..." % (str(len(raw_data))))