Swap return for sys.exit(1)
parent
09d347ca33
commit
96f9e60e84
|
@ -652,7 +652,7 @@ def _exploit(target, port, feaList, shellcode, numGroomConn, username, password)
|
|||
def exploit(args):
|
||||
if dependencies_missing:
|
||||
module.log('Module dependencies (impacket) missing, cannot continue', 'error')
|
||||
return
|
||||
sys.exit(1)
|
||||
|
||||
# XXX: Normalize strings to ints and unset options to empty strings
|
||||
rport = int(args['RPORT'])
|
||||
|
|
Loading…
Reference in New Issue