mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +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,9 +18,8 @@ def tamper(payload, **kwargs):
|
|||
"""
|
||||
Base64 all characters in a given payload
|
||||
|
||||
Example:
|
||||
* Input: 1' AND SLEEP(5)#
|
||||
* Output: MScgQU5EIFNMRUVQKDUpIw==
|
||||
>>> tamper("1' AND SLEEP(5)#")
|
||||
'MScgQU5EIFNMRUVQKDUpIw=='
|
||||
"""
|
||||
|
||||
return base64.b64encode(payload) if payload else payload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue