diff --git a/extra/vulnserver/vulnserver.py b/extra/vulnserver/vulnserver.py index a146b15fb..257fc93a4 100644 --- a/extra/vulnserver/vulnserver.py +++ b/extra/vulnserver/vulnserver.py @@ -161,6 +161,9 @@ class ReqHandler(BaseHTTPRequestHandler): def do_GET(self): self.do_REQUEST() + def do_PUT(self): + self.do_REQUEST() + def do_POST(self): length = int(self.headers.get("Content-length", 0)) if length: diff --git a/lib/core/settings.py b/lib/core/settings.py index 1996f40c7..9fbd28d74 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.11.38" +VERSION = "1.3.11.39" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/lib/core/testing.py b/lib/core/testing.py index 030791fcb..a8c3402be 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -65,6 +65,7 @@ def vulnTest(): ("--flush-session", ("CloudFlare",)), ("--flush-session --data='{\"id\": 1}' --banner", ("Payload: {\"id\"", "banner: '3")), ("--flush-session --data='' --banner", ("Payload: