From 09d347ca33f834a1c22e43d71af4324e141413f8 Mon Sep 17 00:00:00 2001 From: William Vu Date: Tue, 17 Jul 2018 16:31:57 -0500 Subject: [PATCH] Add missed sys.exit(1) --- modules/exploits/windows/smb/ms17_010_eternalblue_win8.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/exploits/windows/smb/ms17_010_eternalblue_win8.py b/modules/exploits/windows/smb/ms17_010_eternalblue_win8.py index 2520e96e10..0a22e1aea0 100755 --- a/modules/exploits/windows/smb/ms17_010_eternalblue_win8.py +++ b/modules/exploits/windows/smb/ms17_010_eternalblue_win8.py @@ -678,6 +678,7 @@ def exploit(args): # XXX: Catch everything until we know better except Exception as e: module.log(str(e), 'error') + sys.exit(1) module.log('done')