PenTest+ Practice Tests Book - SYBEX
A. - Metasploit is launched by running msfconsole from the command line. The msfconsole command is located in the /usr/share/metasploitframework/ msfconsole directory.
This is a tricky one. If you actually just want to start the Metasploit database you can use the command msfdb init from Linux shell, and not db_init as shown from one the answers.
https://www.offensive-security.com/metasploit-unleashed/using-databases/
msfconsole - start the Metasploit Framework Console
db_connect - connect to an existing database
db_status - check the status from current database
workspace - display the currently selected workspaces from the database
msfvenom - is a combination of Msfpayload and Msfencode, putting both of these tools into a single Framework instance.
https://metasploit.help.rapid7.com/docs/managing-the-database#connecting-to-a-database
But since you can also enable the database during each startup of msfconsole, I guess the best answer would be A.
https://fedoraproject.org/wiki/Metasploit_Postgres_Setup
msfdb init. db_init will just throw an error. So the best way to do it is to start the console with msfconsole which will attempt to start the database and throw an error that the db isn't started if it's not.
I'm pretty sure that they are looking for db_init here. Technically it should read msfdb_init but I think it's the closest option. msfconsole starts Metasploit as a whole but if you want the database you use the db_init command.
https://www.offensive-security.com/metasploit-unleashed/using-databases/
https://www.kali.org/docs/tools/starting-metasploit-framework-in-kali/
https://subscription.packtpub.com/book/networking_and_servers/9781788623179/1/ch01lvl1sec19/configuring-postgresql
Guess it will depend on if this is a typo or not. If it shows up as msfdb_init on the exam, that would be my choice. If not, I would lean toward msfconsole.
yep absolutely, since launching metasploit with msfconsole will also initialise the database
upvoted 1 times
...
...
...
This section is not available anymore. Please use the main Exam Page.PT0-001 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
mr_robot
Highly Voted 5 years, 1 month agomr_robot
4 years, 11 months agoJustAnotherDave
3 years, 8 months agomiabe
Most Recent 2 years, 10 months agoamericaman80
4 years agomrfstop
3 years, 9 months agoJustAnotherDave
3 years, 8 months agosomeguy1393
4 years, 5 months agoTheThreatGuy
4 years, 4 months agokamaluchi
3 years, 10 months ago