lost and found ( for me ? )

how to install / uninstall metasploint on Linux Mint

Here’s an explanation of how to install / uninstall metasploit.

[ install metasploit ]


# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 12 Lisa
Release:        12
Codename:       lisa

# uname -ri
3.5.0-21-generic x86_64


download metasploit

for 32bit ver.
# wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-installer.run


for 64bit ver.
# wget http://downloads.metasploit.com/data/releases/metasploit-latest-
linux-x64-installer.run

chmod u+x metasploit-latest-linux-x64-installer.run


install.
the installation is very easy , just press enter , enter …
# ./metasploit-latest-linux-x64-installer.run
<snip>
Please wait while Setup installs Metasploit on your computer.

Installing
0% ______________ 50% ______________ 100%
#########################################

----------------------------------------------------------------------------
Setup has finished installing Metasploit on your computer.

Info: To access Metasploit, go to
       https://localhost:3790 from your browser.
Press [Enter] to continue :
#


By default , metasploit will be installed under /opt/metasploit-x.x.x/ directory

update the metasploit framework
# msfupdate
[*]
[*] Attempting to update the Metasploit Framework...
[*]

[*] No updates available


start metasploit
# msfconsole
      =[ metasploit v4.5.0-release [core:4.5 api:1.0]
+ -- --=[ 1000 exploits - 562 auxiliary - 164 post
+ -- --=[ 262 payloads - 28 encoders - 8 nops

msf >
msf > use <tab>
Display all 2020 possibilities? (y or n)
use auxiliary/admin/2wire/xslt_password_reset
use auxiliary/admin/backupexec/dump
use auxiliary/admin/backupexec/registry
use auxiliary/admin/cisco/cisco_secure_acs_bypass
use auxiliary/admin/cisco/vpn_3000_ftp_bypass
use auxiliary/admin/db2/db2rcmd
use auxiliary/admin/edirectory/edirectory_dhost_cook
<snip>


[ uninstall metasploit ]

how to uninstall metasploit
# /opt/metasploit-4.5.0/uninstall
Do you want to uninstall Metasploit and all of its modules? [Y/n]: y

----------------------------------------------------------------------------
Uninstall Status

Uninstalling Metasploit
0% ______________ 50% ______________ 100%
#########################################

Info: Uninstallation completed
Press [Enter] to continue :
#

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.