Don't continue if opts told us not to generate

Such as is the case with running with --options
This commit is contained in:
James Lee 2013-07-05 14:31:38 -05:00
parent 1962db5b8c
commit ed3764150f
1 changed files with 1 additions and 0 deletions

View File

@ -340,6 +340,7 @@ class MsfVenom
payload_raw = generate_raw_payload
return unless payload_raw
if @opts[:template]
unless File.exist?(@opts[:template])