diff --git a/extra/vulnserver/vulnserver.py b/extra/vulnserver/vulnserver.py index bb730b665..379df0979 100644 --- a/extra/vulnserver/vulnserver.py +++ b/extra/vulnserver/vulnserver.py @@ -16,6 +16,7 @@ import traceback if sys.version_info >= (3, 0): from http.client import FOUND + from http.client import INTERNAL_SERVER_ERROR from http.client import NOT_FOUND from http.client import OK from http.server import BaseHTTPRequestHandler @@ -27,6 +28,7 @@ else: from BaseHTTPServer import BaseHTTPRequestHandler from BaseHTTPServer import HTTPServer from httplib import FOUND + from httplib import INTERNAL_SERVER_ERROR from httplib import NOT_FOUND from httplib import OK from SocketServer import ThreadingMixIn @@ -85,6 +87,13 @@ class ReqHandler(BaseHTTPRequestHandler): if query: params.update(parse_qs(query)) + if "