File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from 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 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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 99
1010from lib .core .enums import PRIORITY
1111
12- __priority__ = PRIORITY .LOWEST
12+ __priority__ = PRIORITY .HIGHEST
1313
1414def 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
You can’t perform that action at this time.
0 commit comments