We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f322306 commit 24e3b6aCopy full SHA for 24e3b6a
2 files changed
lib/core/settings.py
@@ -20,7 +20,7 @@
20
from thirdparty.six import unichr as _unichr
21
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
-VERSION = "1.5.9.5"
+VERSION = "1.5.9.6"
24
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
25
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
26
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
lib/core/subprocessng.py
@@ -99,8 +99,8 @@ def send(self, input):
99
(_, written) = WriteFile(x, input)
100
except ValueError:
101
return self._close('stdin')
102
- except (subprocess.pywintypes.error, Exception) as ex:
103
- if ex.args[0] in (109, errno.ESHUTDOWN):
+ except Exception as ex:
+ if getattr(ex, "args", None) and ex.args[0] in (109, errno.ESHUTDOWN):
104
105
raise
106
@@ -120,8 +120,8 @@ def _recv(self, which, maxsize):
120
(_, read) = ReadFile(x, nAvail, None)
121
except (ValueError, NameError):
122
return self._close(which)
123
124
125
126
127
0 commit comments