File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.4.8.1 "
21+ VERSION = "1.4.8.2 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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 55See the file 'LICENSE' for copying permission
66"""
77
8+ import os
89import re
910
11+ from lib .core .common import singleTimeWarnMessage
12+ from lib .core .enums import DBMS
1013from lib .core .enums import PRIORITY
1114
1215__priority__ = PRIORITY .HIGHEST
1316
1417def dependencies ():
15- pass
18+ singleTimeWarnMessage ( "tamper script '%s' is only meant to be run against %s" % ( os . path . basename ( __file__ ). split ( "." )[ 0 ], DBMS . ORACLE ))
1619
1720def tamper (payload , ** kwargs ):
1821 """
Original file line number Diff line number Diff line change 55See the file 'LICENSE' for copying permission
66"""
77
8- import os
98import re
109
11- from lib .core .common import singleTimeWarnMessage
12- from lib .core .enums import DBMS
1310from lib .core .enums import PRIORITY
1411
1512__priority__ = PRIORITY .HIGHEST
Original file line number Diff line number Diff line change 77
88import re
99
10+ from lib .core .common import singleTimeWarnMessage
1011from lib .core .convert import decodeHex
1112from lib .core .convert import getOrds
13+ from lib .core .enums import DBMS
1214from lib .core .enums import PRIORITY
1315
1416__priority__ = PRIORITY .NORMAL
1517
1618def dependencies ():
17- pass
19+ singleTimeWarnMessage ( "tamper script '%s' is only meant to be run against %s" % ( os . path . basename ( __file__ ). split ( "." )[ 0 ], DBMS . MYSQL ))
1820
1921def tamper (payload , ** kwargs ):
2022 """
Original file line number Diff line number Diff line change 55See the file 'LICENSE' for copying permission
66"""
77
8+ import os
89import re
910
11+ from lib .core .common import singleTimeWarnMessage
12+ from lib .core .enums import DBMS
1013from lib .core .enums import PRIORITY
1114
1215__priority__ = PRIORITY .HIGHEST
1316
1417def dependencies ():
15- pass
18+ singleTimeWarnMessage ( "tamper script '%s' is only meant to be run against %s" % ( os . path . basename ( __file__ ). split ( "." )[ 0 ], DBMS . MYSQL ))
1619
1720def tamper (payload , ** kwargs ):
1821 """
You can’t perform that action at this time.
0 commit comments