We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8656add commit 6a0a410Copy full SHA for 6a0a410
lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb
@@ -739,7 +739,7 @@ def cmd_transport(*args)
739
print_error("Failed to add transport, please check the parameters")
740
end
741
when 'remove'
742
- if !opts[:transport].end_with?('_tcp') && opts[:uri].nil?
+ if opts[:transport] && !opts[:transport].end_with?('_tcp') && opts[:uri].nil?
743
print_error("HTTP/S transport specified without session URI")
744
return
745
0 commit comments