Home » Penetration Testing » Metasploit Nmap Version
Metasploit Nmap Version
For those of you wondering why metasploit uses nmap 5.61 instead of 6.01 when you do
an nmap scan in metasploit its because metasploit has its own nmap built in and the metasploit devs haven't upgraded it yet
if you want to use Nmap 6.01 in metasploit do the following.
Code:
su
mv /opt/metasploit/common/bin/nmap /opt/metasploit/common/bin/nmap.bak
ln -s /usr/local/bin/nmap /opt/metasploit/common/bin/
cd /opt/metasploit/common/lib
cd ../../msf3;./msfconsole
db_nmap -sS -sV -O 192.168.1.0/24 # your gateway maybe different to get your gateway follow below #
Copy and paste below into terminal to get Your Gateway
ip route show default | awk '/default/ {print $3 "/"24}'
if you get a libcrypto system link errror when you start metasploit, nmap or updating do the following
su
cd /opt/metasploit/common/lib
mv libcrypto.so.0.9.8 libcrypto.so.0.9.8-b
mv libssl.so.0.9.8 libssl.so.0.9.8-backup
ln -s /usr/lib/libcrypto.so.0.9.8
ln -s /usr/lib/libssl.so.0.9.8
If you encounter any problems and want to restore the metasploit built in nmap
su
mv /opt/metasploit/common/bin/nmap.bak /opt/metasploit/common/bin/nmap
Tags: Hacking Tutorials, Metasploit, Penetration Testing

This post was written by:
Adnan Anjum - who has written 1000+ posts on hackguide4u.
Adnan Anjum is a professional Geek. Follow him on Twitter or email him
Share your views...
0 Respones to "Metasploit Nmap Version"
Post a Comment