x32x01
  • by x32x01 ||
Installing the Metasploit Framework on Linux
  1. Open the terminal.
  2. Enter the following command to add the build repository and install the Metasploit Framework package:
Bash:
You Can, Log in or Register To View Codes Content !

After the installation completes, open a terminal window and type the following to start msfconsole:
Bash:
You Can, Log in or Register To View Codes Content !

The prompt asks you if you want to use and set up a new database. Type y or yes to run the initial configuration script to create the initial database.
msf-linux-install-db.png
If all goes well, the console starts and displays the following:
Bash:
You Can, Log in or Register To View Codes Content !

To check to see if the database was set up, run the following command:
Bash:
You Can, Log in or Register To View Codes Content !

If the Metasploit Framework successfully connected to the database, the following status displays:
Bash:
You Can, Log in or Register To View Codes Content !

Managing The Database
If you did not opt to create a database when msfconsole loaded for the first time, you can use the msfdb script to configure postgresql to run as your local user and store the database in ~/.msf4/db/.

To enable and start the database, run the following command:
Bash:
You Can, Log in or Register To View Codes Content !

After the database starts, you can use any of the following commands to manage the database:
  • msfdb reinit - Deletes and reinitializes the database.
  • msfdb delete - Deletes the database.
  • msfdb start - Starts the database.
  • msfdb stop - Stops the database.
  • msfdb status - Shows the database status.
 

Similar Threads

x32x01
Replies
0
Views
48
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
99
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
86
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
97
x32x01
x32x01
x32x01
Replies
0
Views
75
x32x01
x32x01
TAGs: Tags
install metasploit metasploit framework

Register & Login Faster

Forgot your password?

Latest Resources

Forum Statistics

Threads
507
Messages
508
Members
42
Latest Member
Mustafa123
Back
Top