This blog is NOT OFFICIAL website of Kali Linux. We just share Tutorials to learn Cybersecurity.

Zenmap -- Easy GUI version of Nmap [UPDATED 2022]

Zenmap is Official 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 2022 and use it.

Installing Zenmap on Kali Linux 2022

Zenmap relies on deprecated Python 2 libraries that are not available in Kali Linux. So it is not available on Kali Linux repository. Also it's official .deb file comes with some errors during installing. So we are going to install it using Kaboxer (Kali Applications Boxer).

To install it we need to have an updated system. We need to apply following command to install Zenmap on our Kali Linux system.

sudo apt install zenmap-kbx -y

After providing our root password the installation will be started, as we can see in the following screenshot:

installing zenmap on kali linux

After the installation is complete we just need to run following command to start Zenmap:

zenmap-kbx

Now we can see that the above command opens Zenmap on our Kali Linux system in the following screenshot:

zenmap on kali linux
This is how we can install and run Zenmap on Kali Linux using Kaboxer.

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

16 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
  • unknown photo
    unknownMarch 10, 2021 at 5:05 PM

    March 2021, I sadly get this error both on the newest version and the older one.

    sudo dpkg -i zenmap_7.91-1_all.deb
    dpkg: warning: parsing file '/var/lib/dpkg/tmp.ci/control' near line 7 package 'zenmap':
    'Depends' field, reference to 'rpmlib':
    "implicit exact match on version number, suggest using '=' instead
    dpkg: error processing archive zenmap_7.91-1_all.deb (--install):
    parsing file '/var/lib/dpkg/tmp.ci/control' near line 7 package 'zenmap':
    'Depends' field, reference to 'rpmlib': version 'PartialHardlinkSets': version number does not start with digit
    Errors were encountered while processing:
    zenmap_7.91-1_all.deb"

    Something with me missing rpmlib? Too n00b to totally understand sorry.

    Thanks for all your hard work.

    Delete Comment
  • unknown photo
    unknownMarch 10, 2021 at 5:07 PM

    Using the newest Desktop Windows 10, version of Kali Linux, March 2021, on Oracle Vm.

    Delete Comment
    • Anon photo
      AnonMarch 19, 2021 at 2:44 AM

      Alien is giving me an Error 25 on VirtualBox 6.1. Please help.

      Package build failed. Here’s the log:
      dh
      dh: error: specify a sequence to run
      make: *** [debian/rules:7: binary] Error 25

      Thank you in advance.

      Delete Comment
      • Kali Linux photo
        Kali LinuxMarch 22, 2021 at 11:27 AM

        We can install it without converting try following command:

        sudo alien -i zenmap*.rpm

        Try it and tell if it working or not in your system.

        Delete Comment
        • SnailApril 27, 2021 at 1:20 PM

          ──(root��kali)-[/home/kali/Downloads]
          └─# apt install ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          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
          • Kali Linux photo
            Kali LinuxApril 28, 2021 at 5:34 PM

            You already wrote the solutions. try the unmet dependencies which are not installed. Install them first.

            Delete Comment
          google-playkhamsatmostaqltradent