Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
66
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduction to NMAP
nmap is your good friend
HakumaNatata
November 21, 2013
More Decks by HakumaNatata
See All by HakumaNatata
SPDY
natata
0
120
How to trace code
natata
0
55
HTML5 canvas game
natata
0
78
Introduction to HTML5
natata
0
45
PHP with Smarty
natata
0
40
Other Decks in Technology
See All in Technology
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
460
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
630
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
580
re:Invent初参加で変わったこと、2回目にやってみたいこと(JAWS-UG彩の国埼玉 #12)
mhrtech
2
230
Getting Started with Google Antigravity
glaforge
0
310
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
Metadata - Section 1: HTML Basics
mohab1
0
120
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
GitHub's CSS Performance
jonrohan
1033
470k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Done Done
chrislema
187
17k
Utilizing Notion as your number one productivity tool
mfonobong
4
620
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Discover your Explorer Soul
emna__ayadi
2
1.3k
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