msfdb init - Inicializaçao apresentado erro de acesso (Metasploit-framework)

1. msfdb init - Inicializaçao apresentado erro de acesso (Metasploit-framework)

Aurelio
aureliolk

(usa Ubuntu)

Enviado em 28/04/2016 - 16:14h

Boa tarde Pessoal,

Alguem quem entenda sobre metasploit-framework, pode me ajudar no erro abaixo ?

To iniciando no linux agora.


aurelio@tazz:/opt/metasploit-framework/bin$ ./msfconsole

** Welcome to Metasploit Framework Initial Setup **
Please answer a few questions to get started.


Would you like to use and setup a new database (recommended)? y
/opt/metasploit-framework/embedded/framework/msfdb:128:in `initialize': Permission denied @ rb_sysopen - /home/aurelio/.msf4/database.yml (Errno::EACCES)
from /opt/metasploit-framework/embedded/framework/msfdb:128:in `open'
from /opt/metasploit-framework/embedded/framework/msfdb:128:in `init_db'
from /opt/metasploit-framework/embedded/framework/msfdb:232:in `<main>'

** Metasploit Framework Initial Setup Complete **

touch: não foi possível tocar “/home/aurelio/.msf4/initial_setup_complete”: Permissão negada
Rails Error: Unable to access log file. Please ensure that /home/aurelio/.msf4/logs/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
/opt/metasploit-framework/embedded/framework/lib/rex/logging/sinks/flatfile.rb:21:in `initialize': Permission denied @ rb_sysopen - /home/aurelio/.msf4/logs/framework.log (Errno::EACCES)
from /opt/metasploit-framework/embedded/framework/lib/rex/logging/sinks/flatfile.rb:21:in `new'
from /opt/metasploit-framework/embedded/framework/lib/rex/logging/sinks/flatfile.rb:21:in `initialize'
from /opt/metasploit-framework/embedded/framework/lib/msf/base/logging.rb:24:in `new'
from /opt/metasploit-framework/embedded/framework/lib/msf/base/logging.rb:24:in `init'
from /opt/metasploit-framework/embedded/framework/lib/msf/base/simple/framework.rb:111:in `simplify'
from /opt/metasploit-framework/embedded/framework/lib/msf/base/simple/framework.rb:73:in `create'
from /opt/metasploit-framework/embedded/framework/lib/msf/ui/console/driver.rb:65:in `initialize'
from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:62:in `new'
from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:62:in `driver'
from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:48:in `start'
from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/base.rb:82:in `start'
from /opt/metasploit-framework/bin/../embedded/framework/msfconsole:48:in `<main>'
aurelio@tazz:/opt/metasploit-framework/bin$



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts