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

Skip to content

Commit 4d2b890

Browse files
committed
Silent bug fix
1 parent c243c5f commit 4d2b890

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

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.4.11.4"
21+
VERSION = "1.4.11.5"
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)

tamper/0eunion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ def tamper(payload, **kwargs):
2929
'1e0UNION ALL SELECT'
3030
"""
3131

32-
return re.sub(r"(\d+)\s+(UNION )", r"\g<1>e0\g<2>", payload, re.I) if payload else payload
32+
return re.sub(r"(?i)(\d+)\s+(UNION )", r"\g<1>e0\g<2>", payload) if payload else payload

tamper/dunion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ def tamper(payload, **kwargs):
3131
'1DUNION ALL SELECT'
3232
"""
3333

34-
return re.sub(r"(\d+)\s+(UNION )", r"\g<1>D\g<2>", payload, re.I) if payload else payload
34+
return re.sub(r"(?i)(\d+)\s+(UNION )", r"\g<1>D\g<2>", payload) if payload else payload

tamper/misunion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ def tamper(payload, **kwargs):
3333
'1"-.1UNION ALL SELECT'
3434
"""
3535

36-
return re.sub(r"\s+(UNION )", r"-.1\g<1>", payload, re.I) if payload else payload
36+
return re.sub(r"(?i)\s+(UNION )", r"-.1\g<1>", payload) if payload else payload

tamper/schemasplit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ def tamper(payload, **kwargs):
2828
'SELECT id FROM testdb 9.e.users'
2929
"""
3030

31-
return re.sub(r"( FROM \w+)\.(\w+)", r"\g<1> 9.e.\g<2>", payload, re.I) if payload else payload
31+
return re.sub(r"(?i)( FROM \w+)\.(\w+)", r"\g<1> 9.e.\g<2>", payload) if payload else payload

0 commit comments

Comments
 (0)