mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor removal of redundant code
This commit is contained in:
parent
1599b5e37f
commit
caae773b2d
2 changed files with 2 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue