Skip to content

Commit ed37641

Browse files
committed
Don't continue if opts told us not to generate
Such as is the case with running with --options
1 parent 1962db5 commit ed37641

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

msfvenom

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ class MsfVenom
340340

341341

342342
payload_raw = generate_raw_payload
343+
return unless payload_raw
343344

344345
if @opts[:template]
345346
unless File.exist?(@opts[:template])

0 commit comments

Comments
 (0)