mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-15 02:23:07 +03:00
minor update
This commit is contained in:
parent
caf22b58bc
commit
f3013e4a29
|
@ -10,6 +10,7 @@ See the file 'doc/COPYING' for copying permission
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from lib.core.common import randomRange
|
from lib.core.common import randomRange
|
||||||
|
from lib.core.common import singleTimeWarnMessage
|
||||||
from lib.core.data import kb
|
from lib.core.data import kb
|
||||||
from lib.core.enums import PRIORITY
|
from lib.core.enums import PRIORITY
|
||||||
from lib.core.settings import IGNORE_SPACE_AFFECTED_KEYWORDS
|
from lib.core.settings import IGNORE_SPACE_AFFECTED_KEYWORDS
|
||||||
|
@ -18,7 +19,7 @@ __priority__ = PRIORITY.NORMAL
|
||||||
|
|
||||||
def tamper(payload):
|
def tamper(payload):
|
||||||
"""
|
"""
|
||||||
Encloses each keyword with versioned MySQL comment
|
Encloses each keyword with versioned MySQL comment (MySQL >= 5.1.13)
|
||||||
Example: 'INSERT' will become '/*!INSERT*/'
|
Example: 'INSERT' will become '/*!INSERT*/'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -29,6 +30,8 @@ def tamper(payload):
|
||||||
else:
|
else:
|
||||||
return match.group()
|
return match.group()
|
||||||
|
|
||||||
|
singleTimeWarnMessage("This tamper script is only meant to be run against MySQL >= 5.1.13")
|
||||||
|
|
||||||
retVal = payload
|
retVal = payload
|
||||||
|
|
||||||
if payload:
|
if payload:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user