mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 02:53:46 +03:00
minor update
This commit is contained in:
parent
38e2d0896b
commit
24d495368e
|
@ -7,6 +7,7 @@ Copyright (c) 2006-2011 sqlmap developers (http://www.sqlmap.org/)
|
|||
See the file 'doc/COPYING' for copying permission
|
||||
"""
|
||||
|
||||
from lib.core.common import randomInt
|
||||
from lib.core.enums import PRIORITY
|
||||
|
||||
__priority__ = PRIORITY.HIGHER
|
||||
|
@ -42,6 +43,6 @@ def tamper(payload):
|
|||
payload = payload[:payload.find(comment)]
|
||||
break
|
||||
if ' ' in payload:
|
||||
retVal = "%s /*!30000%s*/%s" % (payload[:payload.find(' ')], payload[payload.find(' ') + 1:], postfix)
|
||||
retVal = "%s /*!30%s%s*/%s" % (payload[:payload.find(' ')], randomInt(3), payload[payload.find(' ') + 1:], postfix)
|
||||
|
||||
return retVal
|
||||
|
|
Loading…
Reference in New Issue
Block a user