Add missed sys.exit(1)

GSoC/Meterpreter_Web_Console
William Vu 2018-07-17 16:31:57 -05:00
parent e1be94e568
commit 09d347ca33
1 changed files with 1 additions and 0 deletions

View File

@ -678,6 +678,7 @@ def exploit(args):
# XXX: Catch everything until we know better # XXX: Catch everything until we know better
except Exception as e: except Exception as e:
module.log(str(e), 'error') module.log(str(e), 'error')
sys.exit(1)
module.log('done') module.log('done')