Swap return for sys.exit(1)

GSoC/Meterpreter_Web_Console
William Vu 2018-07-17 17:25:38 -05:00
parent 09d347ca33
commit 96f9e60e84
1 changed files with 1 additions and 1 deletions

View File

@ -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'])