Jump to content

Help Me... Please..


sjmin2121
 Share

Recommended Posts

Hello I have a problem.

I don't know how to set up a database for metasploit

 

 

msf > db_status

postgresql selected, no connection

/opt/metasploit-framework/embedded/framework/lib/rex/ui/text/shell.rb:210:in `initialize': Permission denied @ rb_sysopen - /Users/jiminsha/.msf4/history (Errno::EACCES)

from /opt/metasploit-framework/embedded/framework/lib/rex/ui/text/shell.rb:210:in `open'

from /opt/metasploit-framework/embedded/framework/lib/rex/ui/text/shell.rb:210:in `run'

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>'

 

I am on mac... that is why I can't find any tutorial

please help.

Link to comment
Share on other sites

You need to go to the directory that metasploit is in and look for msfdb. Then run sudo msfdb init. That what works on Linux should work on Mac but Mac is pain to setup msf on 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...