mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +03:00
Trivial update
This commit is contained in:
parent
fa93f5e099
commit
29a7646334
|
@ -1831,6 +1831,9 @@ def getLimitRange(count, plusOne=False):
|
||||||
def parseUnionPage(page):
|
def parseUnionPage(page):
|
||||||
"""
|
"""
|
||||||
Returns resulting items from UNION query inside provided page content
|
Returns resulting items from UNION query inside provided page content
|
||||||
|
|
||||||
|
>>> parseUnionPage("%sfoo%s%sbar%s" % (kb.chars.start, kb.chars.stop, kb.chars.start, kb.chars.stop))
|
||||||
|
['foo', 'bar']
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if page is None:
|
if page is None:
|
||||||
|
@ -2064,6 +2067,9 @@ def safeFilepathEncode(filepath):
|
||||||
def safeExpandUser(filepath):
|
def safeExpandUser(filepath):
|
||||||
"""
|
"""
|
||||||
Patch for a Python Issue18171 (http://bugs.python.org/issue18171)
|
Patch for a Python Issue18171 (http://bugs.python.org/issue18171)
|
||||||
|
|
||||||
|
>>> os.path.basename(__file__) in safeExpandUser(__file__)
|
||||||
|
True
|
||||||
"""
|
"""
|
||||||
|
|
||||||
retVal = filepath
|
retVal = filepath
|
||||||
|
|
|
@ -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.5.1.25"
|
VERSION = "1.5.1.26"
|
||||||
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