Skip to content

Commit face3a7

Browse files
committed
add trailing newline
1 parent 1d2fc98 commit face3a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

msfvenom

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ if __FILE__ == $0
331331
output_stream = $stdout
332332
output_stream.binmode
333333
output_stream.write payload
334+
# trailing newline for pretty output
335+
$stderr.puts unless payload =~ /\n$/
334336
end
335337

336338
end

0 commit comments

Comments
 (0)