Saturday, November 29, 2003

Linux Power Utilities - nmap

i'll be writing a bit on some cool linux utilites, the few i come across. i think linux is one thing common between us. ie the wish to learn it really well. hrishi should be able to give us a lot of tips on linux.

here's one cool command line utility

nmap basically scans all the ports of a remote server/pc and provides info on all the open ports etc. you can also get info like whether a server is up.
usage:
$ nmap -v domainname

where -v is for verbose and domainname is the webaddress of a site.
there are many other options. so goto man pages.
on localhost i got

The Connect() Scan took 0 seconds to scan 1601 ports.
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1597 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
80/tcp open http
443/tcp open https
6000/tcp open X11

after i started apache(80 and 443) and ssh(22). why x11 is there i do not know. any idea?
i would definitely love to test it on a windows machine.. see you online. and try it on some websites.. really cool.

No comments: