mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
Another update for an Issue #352 and couple of fixes
This commit is contained in:
parent
b35122a42c
commit
4cb378ce3e
38 changed files with 127 additions and 146 deletions
|
|
@ -17,10 +17,6 @@ def tamper(payload, **kwargs):
|
|||
"""
|
||||
Embraces complete query with versioned comment
|
||||
|
||||
Example:
|
||||
* Input: 1 AND 2>1--
|
||||
* Output: 1 /*!30000AND 2>1*/--
|
||||
|
||||
Requirement:
|
||||
* MySQL
|
||||
|
||||
|
|
@ -29,6 +25,11 @@ def tamper(payload, **kwargs):
|
|||
|
||||
Notes:
|
||||
* Useful to bypass ModSecurity WAF/IDS
|
||||
|
||||
>>> import random
|
||||
>>> random.seed(0)
|
||||
>>> tamper('1 AND 2>1--')
|
||||
'1 /*!30874AND 2>1*/--'
|
||||
"""
|
||||
|
||||
retVal = payload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue