mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +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
|
|
@ -18,12 +18,12 @@ def tamper(payload, **kwargs):
|
|||
Replaces predefined SQL keywords with representations
|
||||
suitable for replacement (e.g. .replace("SELECT", "")) filters
|
||||
|
||||
Example:
|
||||
* Input: 1 UNION SELECT 2--
|
||||
* Output: 1 UNUNIONION SELSELECTECT 2--
|
||||
|
||||
Notes:
|
||||
* Useful to bypass very weak custom filters
|
||||
|
||||
>>> random.seed(0)
|
||||
>>> tamper('1 UNION SELECT 2--')
|
||||
'1 UNIOUNIONN SELESELECTCT 2--'
|
||||
"""
|
||||
|
||||
keywords = ("UNION", "SELECT", "INSERT", "UPDATE", "FROM", "WHERE")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue