mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
update for a previous update (putting conf.dataEncoding in getUnicode wherever we know that data won't be 'touched' or 'used' in anyway related to the current web page - if not sure, just leave it as it is)
This commit is contained in:
@@ -201,7 +201,7 @@ def __updateSqlmap():
|
||||
logger.debug(debugMsg)
|
||||
|
||||
def notify(event_dict):
|
||||
action = getUnicode(event_dict['action'])
|
||||
action = getUnicode(event_dict['action'], conf.dataEncoding)
|
||||
index = action.find('_')
|
||||
prefix = action[index + 1].upper() if index != -1 else action.capitalize()
|
||||
|
||||
@@ -211,7 +211,7 @@ def __updateSqlmap():
|
||||
if action.find('_completed') == -1:
|
||||
dataToStdout("%s\t%s\n" % (prefix, event_dict['path']))
|
||||
else:
|
||||
revision = getUnicode(event_dict['revision'])
|
||||
revision = getUnicode(event_dict['revision'], conf.dataEncoding)
|
||||
index = revision.find('number ')
|
||||
|
||||
if index != -1:
|
||||
|
||||
Reference in New Issue
Block a user