Skip to content

Commit 8c3c73a

Browse files
committed
inline the error message
1 parent 2ab7368 commit 8c3c73a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/post/multi/manage/shell_to_meterpreter.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ def transmit_payload(exe)
175175
aborted = true if !ret.empty?
176176
end
177177
if aborted
178-
print_error('Error: Unable to execute the following command:')
179-
print_error(cmd.inspect)
178+
print_error('Error: Unable to execute the following command: ' + cmd.inspect)
180179
print_error('Output: ' + ret.inspect) if ret && !ret.empty?
181180
break
182181
end

0 commit comments

Comments
 (0)