If you are familiar with PENTEST and Kali linux platform, you should know nmap which is great vulnerability scanning tool. But recent version of kali has dropped ZENMAP which is GUI base for nmap which great tool to run nmap in GUI and also to generate command line to run on nmap.
Few of my blog readers mentioned to me that after Kali 2020.4 my previous method of installing Zenmap no longer works. So after breaking few VM images and few swear moment I was able to figure out a way to install Zenmap GUI in new Kali. 🙂
Go to https://nmap.org/download.html and scroll down to Source Code Distribution and download tar package https://nmap.org/dist/nmap-7.91.tar.bz2 and save to wherever you are happy :). Usually it is Download folder.
Here is link to all the packages need to install this https://github.com/ayeshsherman/ZENMAP.git
Then bring up terminal from the place downloaded the tar package and run sudo su and get the root access. After that run below command in sequence. Very good guide here https://nmap.org/book/inst-source.html
apt-get update bzip2 -cd nmap-7.91.tar.bz2 | tar xvf - cd nmap-7.91 ./configure make su root make install
After that you need to download python packages.
then install each package with dpkg -i <each package name from above>
As a example
dpkg -i ./python-cairo_1.16.2-2ubuntu2_amd64.deb
Once you down you will be able to see zenmap from search window in kali. But if you want to run Zenmap as root you need to brows into place where tar package got unzip. In my case download folder nmap 7.91 and bring terminal and run sudo su and then ./zenmap.
You can get more info here https://nmap.org
Here is the way to install Zenmap on previous ver of Kali.
Then run these commands:
sudo su it will ask to enter password for root
apt-get install alien
cd to the download folder where you download zenmap
sudo alien “zenmap-7.80-1.noarch.rpm”
sudo dpkg -i “zenmap-7.80-1.noarch.deb”
Then you will be able to launch zenmap.