Zenmap -- Easy GUI version of Nmap

Zenmap is Graphical User Interface (GUI) version of Nmap. Zenmap is also very powerful tool like nmap. For it's graphical interface and easy menus makes it very easy to use.

Zenmap install on Kali Linux 2021
Previously Zenmap comes pre-installed on Kali Linux but newer version (from 2019.4) doesn't comes with Zenmap. So in our this article we are going to learn how to install Zenmap on Kali Linux in 2021 and use it.

Installing Zenmap on Kali Linux 2021

To install Zenmap we need to download it from Nmap's official website. On the website we can download Zenmap rpm file, or we can click here to directly download it.

On the download screen we can click to save it as we did in the following screenshot.

zenmap download

This a a very small file (approximately 700kb) to download, download will finish in some seconds.

After downloading it we can open our terminal and run following command to update our system:

sudo apt-get update

This may ask for root password. After finishing the update we need alien. Alien means not 👽👾 (the creatures from other planet). Alien is a program that can converts an RPM package (RedHat) file into a Debian package file.

This is not a standard way to install software packages on Debian based distribution. But in this case we need to do this.

We can install alien by using following command:

sudo apt-get install alien

Then the alien will be installed as we can see on the following screenshot:

installing alien package

Then we need to navigate to our Downloads directory where we have the downloaded Zenmap rpm file.

cd Downloads

Then we need to convert our downloaded rpm file to deb file using alien by using following command:

sudo alien zenmap*.rpm

This command will convert zenmap rpm file to zenmap deb file. As we can see in the following screenshot:

converting rpm files to dev using zenmap

Now we can install it on our system by running following command:

sudo dpkg -i zenmap*.deb

After applying the above command Zenmap will be installed as we can see in the following screenshot:

installing zenmap on kali linux 2021

Zenmap uses Python GTK for creating a graphical user interface, that's why we have to install that as well on our Kali Linux system.

We need to download it from Ubuntu's website and install it. To download it we use following command:

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

Then we install it by using following command:

sudo apt install ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

Now we can search for Zenmap on our application menu or we can run zenmap or sudo zenmap command on our terminal to open Zenmap.

Using Zenmap on Kali Linux

After a successful installation we can use Zenmap. If we use Zenmap with root then we can use it's all options. So we open it with root by using following command:

sudo zenmap

We can see that Zenmap is opened on the following screenshot:

Zenmap running on kali linux 20121

Here everything is very easy. Here we need to put the IP address of our target network. For an example we are choosing our localhost system's IP address (192.168.122.148), we also can choose the website's address.

Then we need to choose the profile as "Quick Scan". For an example we have chosen "Quick Scan" we can choose other profiles as per our requirements. Then we just need to click on "Scan". Then the result will comes in front of us as the following screenshot:

zenmap scan results

In the above screenshot we can see the open ports on our target.

Once the scan has completed, we can click on each tab to get further details about our target. If we're performing a scan on an entire network, the "Topology" tab will help us create a network diagram of the target network.

Zenmap is very easy to use and user-friendly. This is how we can install Zenmap on Kali Linux new versions and it's uses.

Liked our article? Then make sure to follow our mail-subscription to get new articles directly on inbox. We also update articles on our Twitter and GitHub profiles. Make sure to follow us there. We also have Telegram group for chatting with everyone.

For any kind of problem and queries make sure to comment in the comment section. We always reply.

author-img
Kali Linux

Comments

9 comments
Post a Comment
  • AnonymousFebruary 12, 2021 at 1:36 PM

    root@kali /h/e/Downloads# python /usr/bin/zenmap
    File "/usr/bin/zenmap", line 114
    except ImportError, e:
    ^
    SyntaxError: invalid syntax
    root@kali /h/e/Downloads# python2 /usr/bin/zenmap
    Could not import the zenmapGUI.App module: 'No module named gtk'.
    I checked in these directories:
    /usr/bin
    /home/ezri/Remarkable/remarkable
    /home/ezri/Remarkable/remarkable_lib
    /usr/lib/python2.7
    /usr/lib/python2.7/plat-x86_64-linux-gnu
    /usr/lib/python2.7/lib-tk
    /usr/lib/python2.7/lib-old
    /usr/lib/python2.7/lib-dynload
    /usr/local/lib/python2.7/dist-packages
    /usr/local/lib/python2.7/dist-packages/LinkFinder-1.0-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/EditorConfig-0.12.2-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/py_altdns-1.0.0-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/termcolor-1.1.0-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/dnspython-2.0.0-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/requests_file-1.5.1-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/idna-2.10-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/urllib3-1.25.10-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/certifi-2020.6.20-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/shodan-1.23.0-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/ipaddress-1.0.23-py2.7.egg
    /usr/local/lib/python2.7/dist-packages/click_plugins-1.1.1-py2.7.egg
    /usr/lib/python2.7/dist-packages
    /usr/lib/python2.6/site-packages
    If you installed Zenmap in another directory, you may have to add the
    modules directory to the PYTHONPATH environment variable.

    Delete Comment
  • AnonymousFebruary 12, 2021 at 9:28 PM

    python3 /usr/bin/zenmap
    File "/usr/bin/zenmap", line 114
    except ImportError, e:
    ^
    SyntaxError: invalid syntax

    Delete Comment
  • AnonymousFebruary 15, 2021 at 2:32 PM

    Hello I want to hack someone's WhatsApp

    Delete Comment
  • AnonymousFebruary 15, 2021 at 9:22 PM

    Hello,

    I have same problem even though i followed all your instructions it has the same error: If you installed Zenmap in another directory, you may have to add the
    modules directory to the PYTHONPATH environment variable.

    It seems to happen with the latest kali linux version.

    Also when i try to install python as you show in your steps, i get this error:
    Note, selecting 'python-gtk2' instead of './python-gtk2_2.24.0-5.1ubuntu2_amd64.deb'
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    python-gtk2 : Depends: python-cairo (>= 1.0.2-1.1) but it is not installable
    Depends: python-gobject-2 (>= 2.21.3) but it is not installable
    E: Unable to correct problems, you have held broken packages.

    Delete Comment
google-playkhamsatmostaqltradent