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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
HakumaNatata
November 21, 2013
Technology
0
59
Introduction to NMAP
nmap is your good friend
HakumaNatata
November 21, 2013
Tweet
Share
More Decks by HakumaNatata
See All by HakumaNatata
SPDY
natata
0
110
How to trace code
natata
0
49
HTML5 canvas game
natata
0
69
Introduction to HTML5
natata
0
38
PHP with Smarty
natata
0
35
Other Decks in Technology
See All in Technology
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
330
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
180
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
200
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.5k
なぜ今、コスト最適化(倹約)が必要なのか? ~AWSでのコスト最適化の進め方「目的編」~
htan
1
110
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
200
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
4.8k
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.6k
Context Engineeringの取り組み
nutslove
0
290
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
820
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
110
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
79
Designing for humans not robots
tammielis
254
26k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
63
My Coaching Mixtape
mlcsv
0
46
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.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