顯示具有 nmap 標籤的文章。 顯示所有文章
顯示具有 nmap 標籤的文章。 顯示所有文章

2009年10月22日 星期四

Find out All Online Hosts on the Same LAN on Linux

1. ping allow pinging a broadcast address

ping -b 192.168.0.255

but windows host does not reply broadcast ping

2. use network mapper, nmap

nmap -sP 192.168.0.0/24

-sP: ping scan

3. if a host be set to discard ping request, try to use arping with loop

2007年9月6日 星期四

Port scanner on Linux


nmap ip


-A: enable OS detection and version detection
-oN/oX filename: output scan in normal, XML format
-n: no reverse DNS resolution
-p[ports]: only scan specified ports
-f: fast mode, fewer ports
-sP: only ping scan
-sS/sT: TCP SYN/Connect() scans
-sU: UDP scan