Ошибка при выполнении команды msfconsole.bat в окне 10 cmd - PullRequest
0 голосов
/ 11 ноября 2019

Произошла ошибка, metasploit не открывается .....

ошибки ..

C:\metasploit-framework\bin>msfconsole.bat
C:/metasploit-framework/embedded/lib/ruby/gems/2.6.0/gems/backports-3.15.0/lib/backports/std_lib.rb:9: warning: Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead
C:/metasploit-framework/bin/../embedded/framework/msfconsole: No such file or directory - chcp
C:/metasploit-framework/bin/../embedded/framework/msfconsole: No such file or directory - hostname
Traceback (most recent call last):
        7: from C:/metasploit-framework/bin/../embedded/framework/msfconsole:49:in `<main>'
        6: from C:/metasploit-framework/embedded/framework/lib/metasploit/framework/command/base.rb:82:in `start'
        5: from C:/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:48:in `start'
        4: from C:/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:62:in `driver'
        3: from C:/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:62:in `new'
        2: from C:/metasploit-framework/embedded/framework/lib/msf/ui/console/driver.rb:90:in `initialize'
        1: from C:/metasploit-framework/embedded/framework/lib/rex/ui/text/dispatcher_shell.rb:343:in `initialize'
C:/metasploit-framework/embedded/framework/lib/rex/ui/text/shell.rb:60:in `initialize': undefined method `split' for nil:NilClass (NoMethodError)
...