C.W.K.
Stream
Lesson 08 of 13 · published

nmap

~15 min · nmap, port-scan, discovery, ethics

Level 0Pinger
0 XP0/101 lessons0/12 achievements
0/150 XP to next level150 XP to go0% complete

네트워크 매퍼

nmap 이 네트워크의 장치 발견하고 도는 서비스 probe 의 canonical 도구. 자기 LAN 에선 "실제 뭐 꽂혀 있어?" 와 "이 머신에 어느 포트 열렸어?" 답하는 가장 빠른 방법.

쓸 스캔 모드

  • Ping scan(-sn) — 살아있는 IP 만 발견. 포트 스캔 X. 매우 빠름.
  • 디폴트 스캔(flag 없음) — 가장 흔한 1000 포트의 TCP 스캔.
  • Service detection(-sV) — 각 열린 포트에 probe 해서 뭐 도는지 식별.
  • OS detection(-O) — TCP/IP fingerprint 에서 OS 추측. Root 필요.

Code

자기 네트워크에서 실용 nmap 사용·bash
# Install
brew install nmap

# Discover all devices on your LAN — fastest way
nmap -sn 192.168.1.0/24

# Standard scan of one host
nmap 192.168.1.100

# Specific ports only
nmap -p 22,80,443 192.168.1.100

# Service detection — what's actually running
nmap -sV 192.168.1.100

# OS detection (requires root)
sudo nmap -O 192.168.1.100

# Comprehensive — all common ports + service detection
sudo nmap -sV -sC 192.168.1.100

External links

Exercise

자기 LAN 에서 — nmap -sn 192.168.1.0/24. 결과 쭉 봐 — 각 장치 설명 가능? Track 1 의 MAC 레슨의 arp -a 와 cross-reference. 보너스 — 머신 하나 골라 nmap -sV that-IP — 실제 도는 서비스 봐. 어떤 건 존재 잊었던 거일 수도.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.