Files
oam/knowledge base/nmap.md
2023-07-09 20:48:18 +02:00

543 B

Nmap

Table of contents

  1. TL;DR
  2. Further readings

TL;DR

# scan all 65535 ports on a host
nmap -p- 192.168.1.1

# scan a single port on a subnet
nmap -p 22 192.168.0.0/24

# detect a host's os
nmap -O 192.168.0.1

Further readings