mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 15:05:00 +00:00
Update server.py
This commit is contained in:
parent
6c8e9b2f75
commit
b6649c38e2
|
@ -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"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user