> For the complete documentation index, see [llms.txt](https://cas-cyber.gitbook.io/cas-cybersecurity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cas-cyber.gitbook.io/cas-cybersecurity/scanning-and-enumeration/scanning-with-zenmap.md).

# Scanning with zenmap

### Scanning with zenmap

Zenmap is the GUI Version of nmap. There is a rpm package available and we can try to install it on KALI Linux: <https://nmap.org/download.html>

<div align="left"><img src="/files/-MhV0Ft9Ds8ExM7zgdSL" alt="Download rpm package"></div>

> sudo apt update
>
> sudo apt install alien
>
> alien zenmap-7.92-1.noarch.rpm

<div align="left"><img src="/files/-MhV4-oy4NjBlIMhY7-K" alt=""></div>

> sudo dpkg --install zenmap\_7.92-2\_all.deb

If not work use the following fix to get zenmap to work:

```
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
```

```
wget http://azure.archive.ubuntu.com/ubuntu/pool/universe/p/pygobject-2/python-gobject-2_2.28.6-14ubuntu1_amd64.deb
```

```
wget http://security.ubuntu.com/ubuntu/pool/universe/p/pycairo/python-cairo_1.16.2-2ubuntu2_amd64.deb
```

Install the required dependencies in the following order:

```
sudo dpkg -i python-gobject-2_2.28.6-14ubuntu1_amd64.deb 
```

```
sudo dpkg -i python-cairo_1.16.2-2ubuntu2_amd64.deb
```

```
sudo dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb 
```

> sudo dpkg --install zenmap\_7.92-2\_all.deb

Now it should work:

<div align="left"><img src="/files/-MhVD8HJfp0BaVL7jL5U" alt=""></div>

Next we will scan some targets from the [hackthebox](https://hackthebox.eu) network.scanning with nmap

&#x20;If you don't have access yet you can follow my tutorial here how to solve the invite challenge: <https://cybercop-training.ch/?p=774>

After download the openvpn file and establish the connection it's possible to scan targets from hackthebox network.

> nmap -T4 -A -v 10.10.10.28

![](/files/-MhXhipAFh0O9xs3hpNC)

###


---

# 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, and the optional `goal` query parameter:

```
GET https://cas-cyber.gitbook.io/cas-cybersecurity/scanning-and-enumeration/scanning-with-zenmap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
