mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
more dump/unicode cleanup
This commit is contained in:
@@ -1352,6 +1352,12 @@ def getCommonStart(strings=[]):
|
||||
|
||||
return retVal
|
||||
|
||||
def getUnicode(value):
|
||||
if isinstance(value, basestring):
|
||||
return value if isinstance(value, unicode) else unicode(value, conf.dataEncoding)
|
||||
else:
|
||||
return unicode(value)
|
||||
|
||||
def getBruteUnicode(string):
|
||||
retVal = unicode()
|
||||
for char in string:
|
||||
|
||||
Reference in New Issue
Block a user