- If you don't have the alien command, install it with a command such as $sudo apt-get install alien
- Download the Nmap RPMs for your platform (x86 or x86-64) from http://nmap.org/dist/nmap-6.46-1.i386.rpm or from http://nmap.org/dist/nmap-6.46-1.x86_64.rpm depending on your target operating system. Since my operating system is a 64bit edition I am using the nmap-6.46-1.x86_64.rpm version of Nmap.
- Verify the download integrity as described in the section called “Verifying the Integrity of Nmap Downloads”.
- Generate a Debian package with a command such as $sudo alien nmap-6.46-1.x86_64.rpm
- Install the Debian package with a command such as $sudo dpkg --install nmap-6.46-1.x86_64.rpm.deb
- Steps 2–5 can be repeated for the other Nmap RPMs such as Zenmap, Ncat, and Nping.
- To download Zenmap - http://nmap.org/dist/zenmap-6.46-1.noarch.rpm
- TO download Ncat - http://nmap.org/dist/ncat-6.46-1.x86_64.rpm
- To download Nping - http://nmap.org/dist/nping-0.6.46-1.i386.rpm
After the installation of Nmap using the above proceedure, you will probably face the following error while you are executing the nmap command or Zenmap:
nmap: error while loading shared libraries: libsvn_client-1.so.0: cannot open shared object file: No such file or directory .
The solution is:
a) Install subversion:
$apt-get install subversion
b) make this symlink:
$ln -s /usr/lib/libsvn_client-1.so.1.0.0 /usr/lib/libsvn_client-1.so.0 (This should work for most of the cases.)
or
$ln -s /usr/lib/x86_64-linux-gnu/libsvn_client-1.so.1.0.0 /usr/lib/libsvn_client-1.so.0 (In my case this works, not the above.)
To run Zenmap/Nmap:
$sudo Zenmap or $sudo nmap
Refer the website http://nmap.org/6/ for command references.
0 comments:
Post a Comment