DEBUG some variables where named id instead of pid
This commit is contained in:
parent
f63c033c92
commit
7af207253a
@ -226,7 +226,7 @@ def detect_keyloggers():
|
|||||||
for pid in name_pid_dict[name]:
|
for pid in name_pid_dict[name]:
|
||||||
if confirm_kill_procces(name):
|
if confirm_kill_procces(name):
|
||||||
debug(debug_option, 'Killing process: ' + name)
|
debug(debug_option, 'Killing process: ' + name)
|
||||||
debug(debug_option, 'type(id): ' + str(type(id)))
|
debug(debug_option, 'type(id): ' + str(type(pid)))
|
||||||
kill_process(id)
|
kill_process(id)
|
||||||
if verbose_option:
|
if verbose_option:
|
||||||
print('[Verbose] Process killed:', name)
|
print('[Verbose] Process killed:', name)
|
||||||
@ -234,8 +234,8 @@ def detect_keyloggers():
|
|||||||
for name in to_kill:
|
for name in to_kill:
|
||||||
for pid in name_pid_dict[name]:
|
for pid in name_pid_dict[name]:
|
||||||
debug(debug_option, 'Killing process: ' + name)
|
debug(debug_option, 'Killing process: ' + name)
|
||||||
debug(debug_option, 'type(id): ' + str(type(id)))
|
debug(debug_option, 'type(id): ' + str(type(pid)))
|
||||||
kill_process(id)
|
kill_process(pid)
|
||||||
if verbose_option:
|
if verbose_option:
|
||||||
print('[Verbose] Process killed:', name)
|
print('[Verbose] Process killed:', name)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user