You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Were you following a specific guide/tutorial or reading documentation?
No
Expected behavior
No warnings in console
Current behavior
msf6 > D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: alread
y initialized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: already initi
alized constant HrrRbSsh::Connection::Channel::ChannelType::Session::NAME
D:/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:13: warning: previous defi
nition of NAME was here
msf6 >
Can be fixed by commenting out line 13 in embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb:
NAME='session'
The text was updated successfully, but these errors were encountered:
hey I did a PR to try to fix it avoiding to spawn multiple connectons, I tried to setup the dev build on a Win11 but had trouble with the dependencies, If someone can test this PR I would be delighted to open it on the official upstream: Rovel#1
I might be wrong - but I think the original issue reported by the user is unrelated to the avoiding to spawn multiple connectons issue that you're hitting @Rovel - feel free to raise a new issue if that's the case 👍
Steps to reproduce
How'd you do it?
Were you following a specific guide/tutorial or reading documentation?
No
Expected behavior
No warnings in console
Current behavior
OS
Windows 11 22H2
Metasploit version
Framework: 6.3.36-dev-aa2a8433fe8d2ccaa52a42dc63b50beeb66dd7bf
Console : 6.3.36-dev-aa2a8433fe8d2ccaa52a42dc63b50beeb66dd7bf
Additional Information
Can be fixed by commenting out line 13 in
embedded/lib/ruby/gems/3.0.0/gems/hrr_rb_ssh-0.4.2/lib/hrr_rb_ssh/connection/channel/channel_type/session.rb
:The text was updated successfully, but these errors were encountered: