diff --git a/data/html/index.html b/data/html/index.html index a7f53972f..a2d4dfc44 100644 --- a/data/html/index.html +++ b/data/html/index.html @@ -1,150 +1,151 @@ - + - - - - - - - - - - - - -
- - - -
-
-

DEMO

-
-
-
- - - - + + + DEMO + + + + + + + + + + +
+ + + +
+
+

DEMO

+
+
+
+ + + + diff --git a/lib/core/settings.py b/lib/core/settings.py index 3acae9d2c..eea6b708f 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.4.7.11" +VERSION = "1.4.7.12" 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/request/redirecthandler.py b/lib/request/redirecthandler.py index b9016fc01..9f53afcc2 100644 --- a/lib/request/redirecthandler.py +++ b/lib/request/redirecthandler.py @@ -163,8 +163,7 @@ class SmartRedirectHandler(_urllib.request.HTTPRedirectHandler): retVal = getSafeExString(ex) except: retVal = "" - finally: - return retVal + return retVal result.read = types.MethodType(_, result) diff --git a/thirdparty/bottle/bottle.py b/thirdparty/bottle/bottle.py index 9e6219e40..aeb6b92b4 100644 --- a/thirdparty/bottle/bottle.py +++ b/thirdparty/bottle/bottle.py @@ -570,7 +570,7 @@ class Route(object): def prepare(self): """ Do all on-demand work immediately (useful for debugging).""" - self.call + self.call() def all_plugins(self): """ Yield all Plugins affecting this route. """ @@ -1518,7 +1518,7 @@ class BaseRequest(object): raise AttributeError("Attribute already defined: %s" % name) self.environ[key] = value - def __delattr__(self, name, value): + def __delattr__(self, name): try: del self.environ['bottle.request.ext.%s' % name] except KeyError: diff --git a/thirdparty/clientform/clientform.py b/thirdparty/clientform/clientform.py index 10c52ff3c..34f2f999f 100644 --- a/thirdparty/clientform/clientform.py +++ b/thirdparty/clientform/clientform.py @@ -1930,7 +1930,7 @@ class ListControl(Control): raise AttributeError("control '%s' is disabled" % self.name) if self.readonly: raise AttributeError("control '%s' is readonly" % self.name) - action == bool(action) + action = bool(action) compat = self._form.backwards_compat if not compat and item.disabled: raise AttributeError("item is disabled") diff --git a/thirdparty/gprof2dot/gprof2dot.py b/thirdparty/gprof2dot/gprof2dot.py index 3bd7ab770..9eaaadeb2 100644 --- a/thirdparty/gprof2dot/gprof2dot.py +++ b/thirdparty/gprof2dot/gprof2dot.py @@ -1271,16 +1271,6 @@ class CallgrindParser(LineParser): return None key, value = pair return value - line = self.lookahead() - mo = self._key_re.match(line) - if not mo: - return None - key, value = line.split(':', 1) - if key not in keys: - return None - value = value.strip() - self.consume() - return key, value def parse_keys(self, keys): line = self.lookahead() diff --git a/thirdparty/xdot/xdot.py b/thirdparty/xdot/xdot.py index a4aa0ff4d..5b43d6c51 100644 --- a/thirdparty/xdot/xdot.py +++ b/thirdparty/xdot/xdot.py @@ -722,7 +722,7 @@ class XDotAttrParser: def handle_font_characteristics(self, flags): # TODO if flags != 0: - sys.stderr.write("warning: font characteristics not supported yet\n" % op) + sys.stderr.write("warning: font characteristics not supported yet\n") def handle_text(self, x, y, j, w, t): self.shapes.append(TextShape(self.pen, x, y, j, w, t))