mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-21 21:59:20 +00:00
Another update for an Issue #352 and couple of fixes
This commit is contained in:
@@ -16,10 +16,6 @@ def tamper(payload, **kwargs):
|
||||
"""
|
||||
Embraces complete query with zero-versioned comment
|
||||
|
||||
Example:
|
||||
* Input: 1 AND 2>1--
|
||||
* Output: 1 /*!00000AND 2>1*/--
|
||||
|
||||
Requirement:
|
||||
* MySQL
|
||||
|
||||
@@ -28,6 +24,9 @@ def tamper(payload, **kwargs):
|
||||
|
||||
Notes:
|
||||
* Useful to bypass ModSecurity WAF/IDS
|
||||
|
||||
>>> tamper('1 AND 2>1--')
|
||||
'1 /*!00000AND 2>1*/--'
|
||||
"""
|
||||
|
||||
retVal = payload
|
||||
|
||||
Reference in New Issue
Block a user