dirtyfilthy/metassh — Issue #5: Upload fails with 'NameError uninitialized constant Rex::Post::MetaSSH::Extensions::Stdapi::Net::SFTP'
Author: sempervictus
Created: 2012-01-22 07:06:26+00:00
State: open

Trace below, issue occurs when attempting to upload a file via an established meta_ssh session.

[-] Error running command upload: NameError uninitialized constant Rex::Post::MetaSSH::Extensions::Stdapi::Net::SFTP
/opt/metasploit4/msf4/lib/active_support/dependencies.rb:429:in `rescue in load_missing_constant'
/opt/metasploit4/msf4/lib/active_support/dependencies.rb:425:in `load_missing_constant'
/opt/metasploit4/msf4/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/extensions/stdapi/fs/file.rb:172:in `rescue in initialize'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/extensions/stdapi/fs/file.rb:170:in `initialize'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/extensions/stdapi/fs/file.rb:103:in `new'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/extensions/stdapi/fs/file.rb:103:in `upload_file'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/extensions/stdapi/fs/file.rb:92:in `block in upload'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/extensions/stdapi/fs/file.rb:84:in `each'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/extensions/stdapi/fs/file.rb:84:in `upload'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/ui/console/command_dispatcher/stdapi/fs.rb:452:in `block in cmd_upload'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/ui/console/command_dispatcher/stdapi/fs.rb:443:in `each'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/ui/console/command_dispatcher/stdapi/fs.rb:443:in `cmd_upload'
/opt/metasploit4/msf4/lib/rex/ui/text/dispatcher_shell.rb:380:in `run_command'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/ui/console.rb:99:in `run_command'
/opt/metasploit4/msf4/lib/rex/ui/text/dispatcher_shell.rb:342:in `block in run_single'
/opt/metasploit4/msf4/lib/rex/ui/text/dispatcher_shell.rb:336:in `each'
/opt/metasploit4/msf4/lib/rex/ui/text/dispatcher_shell.rb:336:in `run_single'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/ui/console.rb:63:in `block in interact'
/opt/metasploit4/msf4/lib/rex/ui/text/shell.rb:189:in `call'
/opt/metasploit4/msf4/lib/rex/ui/text/shell.rb:189:in `run'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/rex/post/meta_ssh/ui/console.rb:61:in `interact'
/home/guinea_pig/.msf4/plugins/meta_ssh/lib/msf/base/sessions/meta_ssh.rb:270:in `_interact'
/opt/metasploit4/msf4/lib/rex/ui/interactive.rb:48:in `interact'
/opt/metasploit4/msf4/lib/msf/ui/console/command_dispatcher/core.rb:1556:in `cmd_sessions'
/opt/metasploit4/msf4/lib/rex/ui/text/dispatcher_shell.rb:380:in `run_command'
/opt/metasploit4/msf4/lib/rex/ui/text/dispatcher_shell.rb:342:in `block in run_single'
/opt/metasploit4/msf4/lib/rex/ui/text/dispatcher_shell.rb:336:in `each'
/opt/metasploit4/msf4/lib/rex/ui/text/dispatcher_shell.rb:336:in `run_single'
/opt/metasploit4/msf4/lib/rex/ui/text/shell.rb:199:in `run'
/usr/local/sbin/msfconsole:135:in `

'