mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Minor removal of unused function
This commit is contained in:
parent
caae773b2d
commit
d1008b45b5
|
@ -1463,18 +1463,6 @@ def ntToPosixSlashes(filepath):
|
||||||
|
|
||||||
return filepath.replace('\\', '/')
|
return filepath.replace('\\', '/')
|
||||||
|
|
||||||
def isBase64EncodedString(subject):
|
|
||||||
"""
|
|
||||||
Checks if the provided string is Base64 encoded
|
|
||||||
|
|
||||||
>>> isBase64EncodedString('dGVzdA==')
|
|
||||||
True
|
|
||||||
>>> isBase64EncodedString('123456')
|
|
||||||
False
|
|
||||||
"""
|
|
||||||
|
|
||||||
return re.match(r"\A(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?\Z", subject) is not None
|
|
||||||
|
|
||||||
def isHexEncodedString(subject):
|
def isHexEncodedString(subject):
|
||||||
"""
|
"""
|
||||||
Checks if the provided string is hex encoded
|
Checks if the provided string is hex encoded
|
||||||
|
|
Loading…
Reference in New Issue
Block a user