chaz72
June 1st, 2017, 09:47 PM
Hello. I wanted to install Metasploit on my Ubuntu 14.04 laptop. I went through the below guide step by step and when I go to run msfconsole I get the below. Can anyone be of assistance?
<snip> - Install Guide
Error:
cscecela@Kalibu:/opt/metasploit-framework$ msfconsole
/home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:377:in `parse': (/opt/metasploit-framework/config/database.yml): could not find expected ':' while scanning a simple key at line 5 column 2 (Psych::SyntaxError)
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:377:in `parse_stream'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:325:in `parse'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:252:in `load'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:473:in `block in load_file'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:472:in `open'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:472:in `load_file'
from /opt/metasploit-framework/lib/msf/ui/console/driver.rb:179:in `initialize'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `new'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `driver'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
from /usr/local/bin/msfconsole:48:in `<main>'
Thanks,
Chaz.
<snip> - Install Guide
Error:
cscecela@Kalibu:/opt/metasploit-framework$ msfconsole
/home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:377:in `parse': (/opt/metasploit-framework/config/database.yml): could not find expected ':' while scanning a simple key at line 5 column 2 (Psych::SyntaxError)
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:377:in `parse_stream'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:325:in `parse'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:252:in `load'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:473:in `block in load_file'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:472:in `open'
from /home/cscecela/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/psych.rb:472:in `load_file'
from /opt/metasploit-framework/lib/msf/ui/console/driver.rb:179:in `initialize'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `new'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `driver'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
from /usr/local/bin/msfconsole:48:in `<main>'
Thanks,
Chaz.