Installing Nmap tools

Executing these simple commands will get you up and running quickly with Nmap 5.00 on Unix and Linux systems:

$ wget http://nmap.org/dist/nmap-5.00.tgz
$ tar -xf nmap-5.00.tgz
$ cd nmap-5.00
$ ./configure && make
$ sudo make install


You should see the message NMAP SUCCESSFULLY INSTALLED when the process is complete. Once Nmap has been successfully installed, you can verify it is working correctly by executing nmap localhost on the command line.

$ nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2009-08-07 00:42 CDT
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
Interesting ports on e6400 (127.0.0.1):
Not shown: 993 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
111/tcp  open  rpcbind
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
631/tcp  open  ipp
2049/tcp open  nfs
Nmap done: 1 IP address (1 host up) scanned in 0.20 seconds

If the results of your scan are similar to the results above, then you have successfully installed Nmap from source.


Thank you (zer0w0rm)

Published By : Zer0w0rm ~ Zer0w0rm

 

0 comments:

Post a Comment