mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-05 20:33:10 +03:00
Fixes #5076
This commit is contained in:
parent
be987815c9
commit
5eaf1d2d27
|
@ -433,7 +433,7 @@ def _setStdinPipeTargets():
|
||||||
def next(self):
|
def next(self):
|
||||||
try:
|
try:
|
||||||
line = next(conf.stdinPipe)
|
line = next(conf.stdinPipe)
|
||||||
except (IOError, OSError):
|
except (IOError, OSError, TypeError):
|
||||||
line = None
|
line = None
|
||||||
|
|
||||||
if line:
|
if line:
|
||||||
|
|
|
@ -20,7 +20,7 @@ from thirdparty import six
|
||||||
from thirdparty.six import unichr as _unichr
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.6.4.5"
|
VERSION = "1.6.4.6"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
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)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user