Skip to content

Commit e393e1b

Browse files
committed
Minor update for #4992
1 parent a4cf25c commit e393e1b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/core/settings.py

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

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

tamper/ord2ascii.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from lib.core.enums import PRIORITY
1111

12-
__priority__ = PRIORITY.LOWEST
12+
__priority__ = PRIORITY.HIGHEST
1313

1414
def dependencies():
1515
pass
@@ -18,13 +18,16 @@ def tamper(payload, **kwargs):
1818
"""
1919
Replaces ORD() occurences with equivalent ASCII() calls
2020
21+
Requirement:
22+
* MySQL
23+
2124
>>> tamper("ORD('42')")
2225
"ASCII('42')"
2326
"""
2427

2528
retVal = payload
2629

2730
if payload:
28-
retVal = re.sub(r"(?i)\bORD\(\b", "ASCII(", payload)
31+
retVal = re.sub(r"(?i)\bORD\(", "ASCII(", payload)
2932

3033
return retVal

0 commit comments

Comments
 (0)