mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-01 18:33:12 +03:00
Minor update
This commit is contained in:
parent
fa2572f58a
commit
d5fb3a0d8b
|
@ -14,7 +14,7 @@ if __name__ == "__main__":
|
||||||
items = list()
|
items = list()
|
||||||
|
|
||||||
with open(sys.argv[1], 'r') as f:
|
with open(sys.argv[1], 'r') as f:
|
||||||
for item in f.readlines():
|
for item in f:
|
||||||
item = item.strip()
|
item = item.strip()
|
||||||
try:
|
try:
|
||||||
str.encode(item)
|
str.encode(item)
|
||||||
|
|
|
@ -2293,7 +2293,7 @@ def initCommonOutputs():
|
||||||
key = None
|
key = None
|
||||||
|
|
||||||
with openFile(paths.COMMON_OUTPUTS, 'r') as f:
|
with openFile(paths.COMMON_OUTPUTS, 'r') as f:
|
||||||
for line in f.readlines(): # xreadlines doesn't return unicode strings when codec.open() is used
|
for line in f:
|
||||||
if line.find('#') != -1:
|
if line.find('#') != -1:
|
||||||
line = line[:line.find('#')]
|
line = line[:line.find('#')]
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty import six
|
from thirdparty import six
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.3.5.47"
|
VERSION = "1.3.5.48"
|
||||||
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