metassh icon indicating copy to clipboard operation
metassh copied to clipboard

Problem using the plugin

Open madmantm opened this issue 11 years ago • 8 comments

hello, i'm trying to use metassh but it seems i'm getting issues, thanks

msf > load meta_ssh [+] Added 2 Exploit modules for metaSSH [*] Successfully loaded plugin: metaSSH msf > use multi/ssh/login_password [-] Error while running command use: Failed to instantiate the platform list for module Msf::Module::Platform::Solaris

Call stack: /opt/metasploit-4.4.0/msf3/lib/msf/core/module/platform.rb:146:in find_portion' /opt/metasploit-4.4.0/msf3/lib/msf/core/module/platform.rb:61:infind_platform' /opt/metasploit-4.4.0/msf3/lib/msf/core/module/platform_list.rb:55:in initialize' /opt/metasploit-4.4.0/msf3/lib/msf/core/module/platform_list.rb:53:ineach' /opt/metasploit-4.4.0/msf3/lib/msf/core/module/platform_list.rb:53:in initialize' /opt/metasploit-4.4.0/msf3/lib/msf/core/module/platform_list.rb:40:innew' /opt/metasploit-4.4.0/msf3/lib/msf/core/module/platform_list.rb:40:in from_a' /opt/metasploit-4.4.0/msf3/lib/msf/core/module/platform_list.rb:30:intransform' /opt/metasploit-4.4.0/msf3/lib/msf/core/module.rb:139:in initialize' /opt/metasploit-4.4.0/msf3/lib/msf/core/exploit.rb:368:ininitialize' /opt/metasploit-4.4.0/msf3/lib/msf/core/exploit.rb:253:in initialize' /opt/metasploit-4.4.0/msf3/plugins/meta_ssh/modules/exploits/multi/ssh/login_password.rb:36:ininitialize' /opt/metasploit-4.4.0/msf3/lib/msf/core/module_manager.rb:93:in new' /opt/metasploit-4.4.0/msf3/lib/msf/core/module_manager.rb:93:increate' /opt/metasploit-4.4.0/msf3/lib/msf/core/module_manager.rb:363:in create' /opt/metasploit-4.4.0/msf3/lib/msf/ui/console/command_dispatcher/core.rb:2156:incmd_use' /opt/metasploit-4.4.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:420:in send' /opt/metasploit-4.4.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:420:inrun_command' /opt/metasploit-4.4.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:382:in run_single' /opt/metasploit-4.4.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:ineach' /opt/metasploit-4.4.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in run_single' /opt/metasploit-4.4.0/msf3/lib/rex/ui/text/shell.rb:200:inrun' ./msfconsole:143

thanks

madmantm avatar Jul 25 '12 14:07 madmantm

hey there. i just downloaded the latest metasploit from the git repo, installed meta_ssh and everything worked fine, so i think the issue is just with your install. grab a clean version of metasploit and tell me if it still happens

dirtyfilthy avatar Jul 26 '12 00:07 dirtyfilthy

hey, thanks, i tried installing it with git, and the installer on the website and i still get the same issue...

it's funny i installed it a couple of times already, can you tell me how you installed msf, maybe i'm getting something wrong in the process...

On Wed, Jul 25, 2012 at 8:01 PM, dirtyfilthy < [email protected]

wrote:

hey there. i just downloaded the latest metasploit from the git repo, installed meta_ssh and everything worked fine, so i think the issue is just with your install. grab a clean version of metasploit and tell me if it still happens


Reply to this email directly or view it on GitHub: https://github.com/dirtyfilthy/metassh/issues/8#issuecomment-7265932

Marc-André Meloche * *

madmantm avatar Jul 26 '12 01:07 madmantm

just git clone https://github.com/rapid7/metasploit-framework.git

dirtyfilthy avatar Jul 26 '12 01:07 dirtyfilthy

Yeah, i did that, i will check again and reply in this thread.

Thanks for your help

On Wed, Jul 25, 2012 at 9:49 PM, dirtyfilthy < [email protected]

wrote:

just git clone https://github.com/rapid7/metasploit-framework.git


Reply to this email directly or view it on GitHub: https://github.com/dirtyfilthy/metassh/issues/8#issuecomment-7267330

Marc-André Meloche * *

madmantm avatar Jul 26 '12 01:07 madmantm

hey man, there is no msf3 dir in the latest version of metasploit so whatever you're doing you're not running the latest version

dirtyfilthy avatar Jul 26 '12 02:07 dirtyfilthy

well what version do you have, the msf3 directory is from the rapid7 installer package, and with the git clone i get the same issue.

   =[ metasploit v4.4.0-release [core:4.4 api:1.0]
  • -- --=[ 912 exploits - 495 auxiliary - 150 post
  • -- --=[ 250 payloads - 28 encoders - 8 nops

msf > load meta_ssh [+] Added 2 Exploit modules for metaSSH [*] Successfully loaded plugin: metaSSH msf > use multi/ssh/login_password [-] Error while running command use: Failed to instantiate the platform list for module Msf::Module::Platform::Solaris

Call stack: /opt/metasploit-framework/lib/msf/core/module/platform.rb:146:in find_portion' /opt/metasploit-framework/lib/msf/core/module/platform.rb:61:infind_platform' /opt/metasploit-framework/lib/msf/core/module/platform_list.rb:55:in initialize' /opt/metasploit-framework/lib/msf/core/module/platform_list.rb:53:ineach' /opt/metasploit-framework/lib/msf/core/module/platform_list.rb:53:in initialize' /opt/metasploit-framework/lib/msf/core/module/platform_list.rb:40:innew' /opt/metasploit-framework/lib/msf/core/module/platform_list.rb:40:in from_a' /opt/metasploit-framework/lib/msf/core/module/platform_list.rb:30:intransform' /opt/metasploit-framework/lib/msf/core/module.rb:139:in initialize' /opt/metasploit-framework/lib/msf/core/exploit.rb:370:ininitialize' /opt/metasploit-framework/lib/msf/core/exploit.rb:255:in initialize' /opt/metasploit-framework/plugins/meta_ssh/modules/exploits/multi/ssh/login_password.rb:36:ininitialize' /opt/metasploit-framework/lib/msf/core/module_manager.rb:93:in new' /opt/metasploit-framework/lib/msf/core/module_manager.rb:93:increate' /opt/metasploit-framework/lib/msf/core/module_manager.rb:363:in create' /opt/metasploit-framework/lib/msf/ui/console/command_dispatcher/core.rb:2156:incmd_use' /opt/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:420:in send' /opt/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:420:inrun_command' /opt/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:382:in run_single' /opt/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:376:ineach' /opt/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:376:in run_single' /opt/metasploit-framework/lib/rex/ui/text/shell.rb:200:inrun' ./msfconsole:143

madmantm avatar Jul 26 '12 10:07 madmantm

ah sweet i can reproduce the issue -- only occurs in ruby 1.8, i'm running 1.9.3. I'll look at this in the coming week man, for now if you upgrade to a newer ruby version it should fix it.

dirtyfilthy avatar Jul 26 '12 13:07 dirtyfilthy

confirmed, i had the 1.8 installed and the 1.9.3, and as soon as i removed the 1.8, the plug-in works.

thanks for your help.

On Thu, Jul 26, 2012 at 9:27 AM, dirtyfilthy < [email protected]

wrote:

ah sweet i can reproduce the issue -- only occurs in ruby 1.8, i'm running 1.9.3. I'll look at this in the coming week man, for now if you upgrade to a newer ruby version it should fix it.


Reply to this email directly or view it on GitHub: https://github.com/dirtyfilthy/metassh/issues/8#issuecomment-7277450

Marc-André Meloche * *

madmantm avatar Jul 26 '12 13:07 madmantm