# 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="https://3977837039-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfT0VPyK6X13Egd9pzy%2F-MhUz1Di7mAtgEZ4kb9e%2F-MhV0Ft9Ds8ExM7zgdSL%2Fzenmap01.png?alt=media&#x26;token=315fe287-e240-4275-8e5b-bcfa3b27d06e" alt="Download rpm package"></div>

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

<div align="left"><img src="https://3977837039-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfT0VPyK6X13Egd9pzy%2F-MhUz1Di7mAtgEZ4kb9e%2F-MhV4-oy4NjBlIMhY7-K%2Fzenmap02.png?alt=media&#x26;token=53d44806-fce3-4781-a032-d02cfa878fbc" 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="https://3977837039-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfT0VPyK6X13Egd9pzy%2F-MhUz1Di7mAtgEZ4kb9e%2F-MhVD8HJfp0BaVL7jL5U%2Fzenmap03.png?alt=media&#x26;token=c94037ad-4899-48c5-a465-0e364a25165d" 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

![](https://3977837039-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfT0VPyK6X13Egd9pzy%2F-MhVGGytTDVQp2KX8yLD%2F-MhXhipAFh0O9xs3hpNC%2Fzenmap04.png?alt=media\&token=033da782-5ef4-4412-9d0d-398a864cb5b2)

###
