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
Code:
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
Code:
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
Code:
su
mv /opt/metasploit/common/bin/nmap.bak /opt/metasploit/common/bin/nmap
0 comments:
Post a Comment