Update server2.py

This commit is contained in:
Namhyeon Go 2022-10-06 02:20:28 +09:00 committed by GitHub
parent 5d03d52658
commit f5254219a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ def proxy_server(webserver, port, conn, addr, data):
relay = requests.post(proxy_url, headers=headers, json=data, stream=True)
for chunk in relay.iter_content(chunk_size=buffer_size):
print(chunk)
#print(chunk)
conn.send(chunk)
print("[*] Request Done. %s" % (str(addr[0])))