2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "nmap"
|
2022-01-26 22:35:07 +00:00
|
|
|
tags: [ "Documentation", "Networking" ]
|
2022-01-16 18:20:39 +00:00
|
|
|
---
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
nmap 192.168.1.1/24
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Flags:
|
|
|
|
|
|
|
|
| Flag | Meaning | Effect |
|
|
|
|
| :---| :---| :---|
|
|
|
|
| -F | Fast | First 100 ports only |
|
|
|
|
|
|
|
|
Look for a web server, which has ports 80 and 443 open:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
nmap 192.168.1.1/24 -p 80,443 --open
|
|
|
|
```
|