Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 29a7646

Browse files
committed
Trivial update
1 parent fa93f5e commit 29a7646

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

lib/core/common.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,6 +1831,9 @@ def getLimitRange(count, plusOne=False):
18311831
def parseUnionPage(page):
18321832
"""
18331833
Returns resulting items from UNION query inside provided page content
1834+
1835+
>>> parseUnionPage("%sfoo%s%sbar%s" % (kb.chars.start, kb.chars.stop, kb.chars.start, kb.chars.stop))
1836+
['foo', 'bar']
18341837
"""
18351838

18361839
if page is None:
@@ -2064,6 +2067,9 @@ def safeFilepathEncode(filepath):
20642067
def safeExpandUser(filepath):
20652068
"""
20662069
Patch for a Python Issue18171 (http://bugs.python.org/issue18171)
2070+
2071+
>>> os.path.basename(__file__) in safeExpandUser(__file__)
2072+
True
20672073
"""
20682074

20692075
retVal = filepath

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.5.1.25"
21+
VERSION = "1.5.1.26"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)