This commit is contained in:
Sebastian Lenzlinger 2023-06-11 16:45:57 +02:00
parent d2ab6c92a8
commit 037963bccb

View File

@ -122,7 +122,7 @@ def detect_keyloggers():
debug(True, str(sys.argv)) # Set manually to debug if args are being read debug(True, str(sys.argv)) # Set manually to debug if args are being read
check_platform() check_platform()
global auto_kill_option, verbose_option, safe_option global auto_kill_option, verbose_option, safe_option, add_white_list_option, kernel_detection_option, debug_option
set_input_options() set_input_options()
if verbose_option: if verbose_option:
print('[Verbose] Input options set') print('[Verbose] Input options set')
@ -290,14 +290,15 @@ def detect_keyloggers():
print('[+] Program completed. Exiting.') print('[+] Program completed. Exiting.')
if __name__ == '__main__':
global kernel_detection_option
detect_keyloggers()
if kernel_detection_option: if kernel_detection_option:
print("[Info] Starting kernel detection") print("[Info] Starting kernel detection")
run_kernel_detection() run_kernel_detection()
if __name__ == '__main__':
detect_keyloggers()