当前位置: 首页 > 工具软件 > Zenmap > 使用案例 >

Kaili2022安装Zenmap

施博文
2023-12-01

1.升级apt-get,我的版本不升级后面无法进行

apt-get update

2.apt-get install alien fakeroot

会弹个窗,选“yes”

3.在Kaili中使用火狐下载zenmap包,地址为:https://nmap.org/dist/zenmap-7.92-1.noarch.rpm,默认下载地址为:/root/Downloads

4.fakeroot alien /root/Downloads/zenmap-7.92-1.noarch.rpm

5.dpkg -i zenmap_7.92-2_all.deb

6.安装完后,继续安装zenmap的运行环境

  • wget http://ftp.de.debian.org/debian/pool/main/libf/libffi/libffi7_3.3-6_amd64.deb
  • dpkg -i libffi7_3.3-6_amd64.deb
  • wget http://azure.archive.ubuntu.com/ubuntu/pool/universe/p/pygobject-2/python-gobject-2_2.28.6-14ubuntu1_amd64.deb
  • dpkg -i 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
  • dpkg -i python-cairo_1.16.2-2ubuntu2_amd64.deb
  • wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
  • apt -y install libgdk-pixbuf2.0-0
  • dpkg -i --ignore-depends=python python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

7.切换python版本为2,zenmap只能在2中运行

update-alternatives --install /usr/bin/python python /usr/bin/python2 100
update-alternatives --install /usr/bin/python python /usr/bin/python3 150
update-alternatives --config python

选择python2对应的 数字编号:1,回车

8.运行zenmap即可

 类似资料: