mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 16:24:25 +03:00
Fixes #3806
This commit is contained in:
parent
b4c00f4172
commit
40bc53537c
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
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.3.7.9"
|
VERSION = "1.3.7.10"
|
||||||
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)
|
||||||
|
|
|
@ -52,7 +52,7 @@ class Filesystem(GenericFilesystem):
|
||||||
else:
|
else:
|
||||||
scrString += " %s" % strLineChar
|
scrString += " %s" % strLineChar
|
||||||
|
|
||||||
lineAddr += len(lineChar)
|
lineAddr += len(strLineChar) // 2
|
||||||
|
|
||||||
fileLines.append(scrString)
|
fileLines.append(scrString)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user