Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to NMAP
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
HakumaNatata
November 21, 2013
Technology
60
0
Share
Introduction to NMAP
nmap is your good friend
HakumaNatata
November 21, 2013
More Decks by HakumaNatata
See All by HakumaNatata
SPDY
natata
0
110
How to trace code
natata
0
50
HTML5 canvas game
natata
0
70
Introduction to HTML5
natata
0
40
PHP with Smarty
natata
0
35
Other Decks in Technology
See All in Technology
美味しいスイスチーズを作ろう🧀🐭
taigamikami
1
230
Javaで学ぶSOLID原則
negima
1
270
PHP と TypeScript の型システム比較:AI 時代の「型」は誰のためにあるのか? #frontend_phpcon_do / frontend_phpcon_do_2026
shogogg
1
240
GoとSIMDとWasmの今。
askua
3
490
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
710
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
140
Sony_KMP_Journey_KotlinConf2026
sony
2
210
タクシーアプリ『GO』の実践的データ活用
mot_techtalk
2
110
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.8k
Claude Codeを組織で使いこなす— サーバサイドAIエージェント運用の実践知
techtekt
PRO
0
190
「コーディング」しない人のための Claude Code 入門 ChatGPT の次の一歩 — 業務に組み込む 育成・共有・自動化
rfdnxbro
2
1.1k
AIガバナンス実践 - 生成AIコネクタのデータ漏洩リスクと実務対策
knishioka
0
170
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
160
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.5k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
Optimizing for Happiness
mojombo
378
71k
The Limits of Empathy - UXLibs8
cassininazir
1
350
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
210
The Cult of Friendly URLs
andyhume
79
6.9k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Transcript
NMAP 彭博涵 資工4A
What’s nmap? ¨ 只是個軟體 ¨ a powerful scanner
Purpose ¨ Available hosts ¨ Offering services ¨ Running
operating systems
install ¨ Linux ¨ FreeBSD ¨ windows
第一次親密接觸 ¨ nmap <target> ¤ #nmap 140.115.50.50
nmap 做了什麼? ¨ 1. 把<target>轉成ip address ¨ 2. 確定目標活著 (send
ICMP echo request packet or TCP ACK packet to port 80) ¨ 3. ip 轉回hostname (using reverse-DNS query) ¨ 4. port scan (/usr/local/share/nmap/nmap-services) ¨ 5. print the result
多個目標一次滿足 ¨ CIDR-style ¤ #nmap 140.115.82.0/24 ¨ 某一段 ¤ #nmap
140.115.172.3-100 ¨ 某幾段 ¤ #nmap 140.115.82,50.7-250 ¨ mix it ¤ #nmap 140.115.20-100,123-169.50 ptt.cc 61.57.227.41/24 ¨ 全世界 ¤ #nmap 0.0.0.0/0
更多目標… ¨ 從檔案... ¤ #nmap -iL target.txt ¨ except... ¤
#nmap 140.112.0.0/16 --exclude ptt.cc ¤ #nmap 0.0.0.0/0 --excludefile trouble.txt ¨ random ¤ #nmap -iR <number> ¨ IPv6 ¤ #nmap -6 ipv6.plurk.com
Scanning port
Port service list ¨ http://nmap.org/svn/nmap-services
Parameter for scanning port ¨ fast scan -F ¨ scan
specific ports -p [port] ¨ scan port by name -p [name] ¨ scan port by portocal -p U:[UDP ports],T:[TCP ports]
Fast scan ¨ scan the 100 most commonly used ports
¤ #nmap -F www.ncu.edu.tw
Scan specific ports ¨ -p [port] ¤ #nmap -p 22
www.saveie6.com ¤ #nmap -p 23,80,886-9527 www.twitter.com
Scan ports by name ¨ -p <name> ¤ #nmap -p
ssh www.saveie6.com ¤ #nmap -p smtp,http www.facebook.com
Scan ports by protocal ¨ specify the portocal to scan
(default TCP) ¤ #nmap -p U:53,T:25 www.hakuna-matata.org
Ports status ¨ open ¨ close ¨ filtered ¨ unfiltered
¨ open|filtered ¨ close|filtered
OS & service
Parameter for OS & service ¨ -O (OS detection) ¨
--osscan-guess (guess OS version) ¨ -sV (service Version detection) ¨ -A (OS detection, version detection and traceroute)
others ¨ -v (verbose) ¨ -Pn (skip host discovery) ¨
--traceroute ¨ -sS
reference ¨ nmap -h ¨ nmap.org ¨ Nmap Network Scanning
by Gordon Fyodor Lyon