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

# nmap

## Important nmap-scripts

```bash
--script=SCRIPT1,SCRIPT2...

# scripts
http-enum
http-methods
http-wordpress-enum
http-ls
http-robots.txt
http-cookie-flags
http-cors
```

## static binary build

[ernw/static-toolbox/nmap-v7.91SVN](https://github.com/ernw/static-toolbox/releases/tag/nmap-v7.91SVN)

## without unzip capability

This makes a new directory nmap to serve nmap static files from and uses recursive wget to transfer it.

1. On Kali
   1. `mkdir nmap; cd nmap/; unzip ../nmap.zip; python3 -m http.server 80`
2. On Target
   1. `wget --recursive --no-parent -R "index.html*" IP/`
   2. `-R`: rejects download for `index.html`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kashz.gitbook.io/kashz-jewels/tricks/nmap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
