diff --git a/monkey/infection_monkey/transport/http.py b/monkey/infection_monkey/transport/http.py index a3cf6b2b6..8745e62eb 100644 --- a/monkey/infection_monkey/transport/http.py +++ b/monkey/infection_monkey/transport/http.py @@ -110,7 +110,7 @@ class FileServHTTPRequestHandler(http.server.BaseHTTPRequestHandler): class HTTPConnectProxyHandler(http.server.BaseHTTPRequestHandler): timeout = 30 # timeout with clients, set to None not to make persistent connection proxy_via = None # pseudonym of the proxy in Via header, set to None not to modify original Via header - protocol_version = "HTTP/1.1" + #protocol_version = "HTTP/1.1" def do_POST(self): content_length = int(self.headers['Content-Length']) # <--- Gets the size of data diff --git a/monkey/monkey_island/cc/resources/bootloader.py b/monkey/monkey_island/cc/resources/bootloader.py index 672f7033f..80a7b56d7 100644 --- a/monkey/monkey_island/cc/resources/bootloader.py +++ b/monkey/monkey_island/cc/resources/bootloader.py @@ -1,8 +1,6 @@ import flask_restful from flask import request, make_response -from monkey_island.cc.services.node import NodeService - WINDOWS_VERSIONS = { "5.0": "Windows 2000", "5.1": "Windows XP",