mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
More tweaking on --update
This commit is contained in:
parent
051db588a5
commit
5c58747740
|
@ -218,15 +218,14 @@ def __updateSqlmap():
|
||||||
|
|
||||||
def notify(event_dict):
|
def notify(event_dict):
|
||||||
action = str(event_dict['action'])
|
action = str(event_dict['action'])
|
||||||
|
index = action.find('_')
|
||||||
|
prefix = action[index + 1].upper() if index != -1 else action.capitalize()
|
||||||
|
|
||||||
if action.find('_update') != -1:
|
if action.find('_update') != -1:
|
||||||
return
|
return
|
||||||
|
|
||||||
index = action.find('_')
|
|
||||||
prefix = action[index + 1].upper() if index != -1 else action.capitalize()
|
|
||||||
|
|
||||||
if action.find('_completed') == -1:
|
if action.find('_completed') == -1:
|
||||||
print "%s %s" % (prefix, event_dict['path'])
|
print "%s\t%s" % (prefix, event_dict['path'])
|
||||||
else:
|
else:
|
||||||
revision = str(event_dict['revision'])
|
revision = str(event_dict['revision'])
|
||||||
index = revision.find('number ')
|
index = revision.find('number ')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user