You are not logged in.
Pages: 1
Happy new year everyone, i have setup msfconsole a few days ago on my arch and it was running ok until today. When i execute msfconsole i get this error
/usr/lib/ruby/2.3.0/psych.rb:379:in `parse': (/home/USER/.msf4/database.yml): could not find expected ':' while scanning a simple key at line 4 column 2 (Psych::SyntaxError)
from /usr/lib/ruby/2.3.0/psych.rb:379:in `parse_stream'
from /usr/lib/ruby/2.3.0/psych.rb:327:in `parse'
from /usr/lib/ruby/2.3.0/psych.rb:254:in `load'
from /usr/lib/ruby/2.3.0/psych.rb:475:in `block in load_file'
from /usr/lib/ruby/2.3.0/psych.rb:474:in `open'
from /usr/lib/ruby/2.3.0/psych.rb:474:in `load_file'
from /opt/metasploit-git/lib/msf/ui/console/driver.rb:177:in `initialize'
from /opt/metasploit-git/lib/metasploit/framework/command/console.rb:62:in `new'
from /opt/metasploit-git/lib/metasploit/framework/command/console.rb:62:in `driver'
from /opt/metasploit-git/lib/metasploit/framework/command/console.rb:48:in `start'
from /opt/metasploit-git/lib/metasploit/framework/command/base.rb:82:in `start'
from /opt/metasploit-git/msfconsole:48:in `<main>'clearly it is a syntax error but i dont have much experience with metasploit yet.
Any help would be appreciated.
Thanks in advance.
Last edited by elvith32 (2017-01-01 12:17:38)
Offline
Sorry guys, i've managed to fix the syntax error, but still dont know what caused the syntax error as i have not edited manualy.
Offline
Pages: 1