본문 바로가기

Hojung's Command List

Total Commands : 232

 (e)grep (6)
 * find large files (2)
 * System info (12)
 * Term Key (8)
 * use previous argu (1)
 *CD/DVD cmd (5)
 *DNS test (4)
 ab (2)
 apg (1)
 arping (4)
 at (1)
 awk (1)
 cal (2)
 cd and pushd (3)
 crontab (7)
 curl (4)
 dd (1)
 dhclient (1)
 dig (2)
 du (1)
 echo (1)
 editcap (1)
 ethtool (2)
 find (20)
 head (1)
 history (1)
 host (1)
 hping3 (6)
 ifconfig (3)
 lftp (1)
 logger (1)
 ls (2)
 lsof (2)
 mail (2)
 man (1)
 mergecap (1)
 mount (8)
 nc (netcat) (1)
 ncftpput (1)
 netcat(nc) (1)
 netstat (1)
 nice (2)
 nl (1)
 nmap (5)
 ntpdate (1)
 openssl (15)
 ping (1)
 pkill (1)
 ps (2)
 rar (1)
 recode (6)
 rename (3)
 rm (1)
 route (2)
 rpm (4)
 sed (4)
 smb (3)
 snmpwalk (2)
 sort (4)
 ssh (1)
 tar (6)
 tcpdump (10)
 top (1)
 touch (2)
 uniq (1)
 vi (11)
 wall (2)
 wget (3)
 yum (5)
 zip/unzip (6)

ICMP echo scanning

nmap -PE 192.168.0.0/24

Written by Hojung at 2011-07-13 10:25:34

Scan a whole subnet for port 22,25,110

nmap -sT -p 22,25,110 192.168.10.0/24

netcat(nc)도 가능
nc -z 192.168.10.1 1-1023
Written by Hojung at 2011-02-11 03:25:07

Scan the well-known ports

nmap -sTU -p 1-1024 192.168.10.1

Written by Hojung at 2011-01-13 16:22:56

UDP Scan

nmap -sU 192.168.10.1

Written by Hojung at 2010-05-19 11:32:01

TCP Scan

nmap -sT 192.168.10.1 <--------- TCP : check by the full three-way handshake
nmap -sS 192.168.10.1 <--------- TCP : check by response SYN/ACK

Written by Hojung at 2010-05-19 11:31:44