mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Minor removal of redundant code
This commit is contained in:
@@ -768,13 +768,6 @@ def dataToOutFile(filename, data):
|
||||
|
||||
return retVal
|
||||
|
||||
def strToHex(value):
|
||||
"""
|
||||
Converts string value to it's hexadecimal representation
|
||||
"""
|
||||
|
||||
return (value if not isinstance(value, unicode) else value.encode(UNICODE_ENCODING)).encode("hex").upper()
|
||||
|
||||
def readInput(message, default=None, checkBatch=True):
|
||||
"""
|
||||
Reads input from terminal
|
||||
|
||||
Reference in New Issue
Block a user