> For the complete documentation index, see [llms.txt](https://thamizhiniyancs.gitbook.io/cheatsheets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thamizhiniyancs.gitbook.io/cheatsheets/scanning-networks/nmap.md).

# Nmap

## Introduction

{% embed url="<https://nmap.org/>" %}

Nmap is a security scanner for network exploration and hacking. It allows you to discover hosts and services on a computer network, thus creating a "map" of the network. It sends specially crafted packets to the target host and then analyzes the responses to accomplish its goal. Either a network administrator or an attacker can use this tool for their specific needs.

***

## Download

{% embed url="<https://nmap.org/download.html>" %}

***

## Syntax

```bash
nmap [Scan Type...] [Options] {Target specification}
```

***

## Sections

<table data-view="cards"><thead><tr><th></th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td>Nmap Options</td><td></td><td></td></tr><tr><td>Nmap Port Scan Types</td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table>
