mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor patches
This commit is contained in:
parent
0599f7c1b6
commit
77a42b3a6f
5 changed files with 11 additions and 11 deletions
|
|
@ -154,7 +154,7 @@ def rot13(data):
|
|||
|
||||
def decodeHex(value, binary=True):
|
||||
"""
|
||||
Returns a decoded representation of provided hexadecimal value
|
||||
Returns a decoded representation of the provided hexadecimal value
|
||||
|
||||
>>> decodeHex("313233") == b"123"
|
||||
True
|
||||
|
|
@ -182,7 +182,7 @@ def decodeHex(value, binary=True):
|
|||
|
||||
def encodeHex(value, binary=True):
|
||||
"""
|
||||
Returns a encoded representation of provided string value
|
||||
Returns an encoded representation of the provided value
|
||||
|
||||
>>> encodeHex(b"123") == b"313233"
|
||||
True
|
||||
|
|
@ -251,7 +251,7 @@ def decodeBase64(value, binary=True, encoding=None):
|
|||
|
||||
def encodeBase64(value, binary=True, encoding=None, padding=True, safe=False):
|
||||
"""
|
||||
Returns a decoded representation of provided Base64 value
|
||||
Returns a Base64 encoded representation of the provided value
|
||||
|
||||
>>> encodeBase64(b"123") == b"MTIz"
|
||||
True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue