Skip to content

Commit 7b3bf85

Browse files
committed
Print the generated command stager for debugging
1 parent 65412cd commit 7b3bf85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/msf/core/exploit/cmdstager.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ def generate_cmdstager(opts = {}, pl = nil)
137137
raise ArgumentError, 'The command stager could not be generated'
138138
end
139139

140+
vprint_status("Generated command stager: #{cmd_list.join}")
141+
140142
cmd_list
141143
end
142144

0 commit comments

Comments
 (0)