File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.6.2.4 "
23
+ VERSION = "1.6.2.5 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 9
9
10
10
from lib .core .enums import PRIORITY
11
11
12
- __priority__ = PRIORITY .LOWEST
12
+ __priority__ = PRIORITY .HIGHEST
13
13
14
14
def dependencies ():
15
15
pass
@@ -18,13 +18,16 @@ def tamper(payload, **kwargs):
18
18
"""
19
19
Replaces ORD() occurences with equivalent ASCII() calls
20
20
21
+ Requirement:
22
+ * MySQL
23
+
21
24
>>> tamper("ORD('42')")
22
25
"ASCII('42')"
23
26
"""
24
27
25
28
retVal = payload
26
29
27
30
if payload :
28
- retVal = re .sub (r"(?i)\bORD\(\b " , "ASCII(" , payload )
31
+ retVal = re .sub (r"(?i)\bORD\(" , "ASCII(" , payload )
29
32
30
33
return retVal
You can’t perform that action at this time.
0 commit comments