mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
more dump/unicode cleanup
This commit is contained in:
parent
64ad3b03be
commit
2fb8bf3b6a
3 changed files with 20 additions and 18 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue