Skip to content

Instantly share code, notes, and snippets.

@anildigital
Created January 19, 2009 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anildigital/dd33140b19b5b9e14273 to your computer and use it in GitHub Desktop.
Save anildigital/dd33140b19b5b9e14273 to your computer and use it in GitHub Desktop.
$ nmap -sT 192.168.1.*
Starting Nmap 4.76 ( http://nmap.org ) at 2009-01-19 21:14 IST
Interesting ports on 192.168.1.1:
Not shown: 994 filtered ports
PORT STATE SERVICE
20/tcp closed ftp-data
21/tcp closed ftp
23/tcp closed telnet
80/tcp open http
1723/tcp open pptp
2869/tcp open unknown
Interesting ports on 192.168.1.100:
Not shown: 999 closed ports
PORT STATE SERVICE
3306/tcp open mysql
Nmap done: 256 IP addresses (2 hosts up) scanned in 15.54 seconds
$ ping 192.168.1.101
PING 192.168.1.101 (192.168.1.101): 56 data bytes
64 bytes from 192.168.1.101: icmp_seq=0 ttl=128 time=49.055 ms
64 bytes from 192.168.1.101: icmp_seq=1 ttl=128 time=1.196 ms
64 bytes from 192.168.1.101: icmp_seq=2 ttl=128 time=2.632 ms
^C
--- 192.168.1.101 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.196/17.628/49.055/22.230 ms
anil-wadghules-macbook:~ anildigital$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment