本文将引导您逐步在Ubuntu中使用Katoolin安装Kali Linux Tools。对于那些不知道的人,Katoolin是一个Python脚本,可用于一次安装所有Kali Linux工具或手动一次安装。Kali Linux具有300多种渗透测试工具。除了安装所有工具,您还可以使用Katoolin在Linux框中仅安装您选择的选择性工具。如果您想在Ubuntu或任何其他基于DEB的系统上尝试使用Kali Linux工具,则应该尝试一下Katoolin。它将在您的Ubuntu系统中添加Kali Linux存储库,以便您可以一次安装所有渗透测试工具,也可以仅安装必要的工具。Katoolin是完全免费的开源软件,并已在基于Debian的系统上经过正式测试。
我已经在Ubuntu 18.04 LTS服务器版本中测试了Katoolin。但是,它应该可以在其他Ubuntu版本和派生版本上使用。
确保在Ubuntu系统中安装了以下先决条件。
这些软件包在Ubuntu的默认源中可用,因此您可以使用apt软件包管理器进行安装。
1
| $ sudo apt-get install python git
|
另外,请确保已启用[Universe]源。
1
| $ sudo add-apt-repository Universe
|
这是我的测试机详细信息:
1 2 3 4 5 6 7 8 9 10 11
| cuiqingwei@Gary-Aspire-4739:/usr/bin$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic cuiqingwei@Gary-Aspire-4739:/usr/bin$ python -V Python 2.7.15+ cuiqingwei@Gary-Aspire-4739:/usr/bin$ git --version git version 2.17.1 cuiqingwei@Gary-Aspire-4739:/usr/bin$
|
python和git版本
好吧,我们已经准备就绪。安装必备组件后,如下所示安装Katoolin:
1
| $ git clone https://github.com/LionSec/katoolin.git
|
上面的命令会将katoolin存储库克隆到当前工作目录中名为“ katoolin”的文件夹中。
接下来,将Katoolin二进制文件复制到您的路径,例如/ usr / bin /,如下所示。
1
| $ sudo cp katoolin / katoolin.py / usr / bin / katoolin
|
最后,将Katoolin二进制文件设置为可执行文件:
1
| $ sudo chmod + x / usr / bin / katoolin
|
现在,我们已经安装了Katoolin。让我们继续前进,看看如何使用它。
所有命令都应以root用户或sudo特权运行。
要启动Katoolin,请运行以下命令:
这就是katoolin命令行界面的样子。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| $$\ $$\ $$\ $$\ $$\ $$ | $$ | $$ | $$ |\__| $$ |$$ / $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$ |$$\ $$$$$$$\ $$$$$ / \____$$\ \_$$ _| $$ __$$\ $$ __$$\ $$ |$$ |$$ __$$\ $$ $$< $$$$$$$ | Kali linux tools installer |$$ |$$ |$$ | $$ | $$ |\$$\ $$ __$$ | $$ |$$\ $$ | $$ |$$ | $$ |$$ |$$ |$$ | $$ | $$ | \$$\ \$$$$$$$ | \$$$$ |\$$$$$$ |\$$$$$$ |$$ |$$ |$$ | $$ | \__| \__| \_______| \____/ \______/ \______/ \__|\__|\__| \__| V2.0
+ -- -- +=[ Author: LionSec | Homepage: www.neodrix.com + -- -- +=[ 331 Tools
[W] Before updating your system , please remove all Kali-linux repositories to avoid any kind of problem .
1) Add Kali repositories & Update 2) View Categories 3) Install classicmenu indicator 4) Install Kali menu 5) Help
kat >
|
启动Katoolin
如上所示,Katoolin主界面有四个选项。输入数字以打开相应的子菜单。让我们一一看。
1.添加Kali存储库并更新
该选项使您可以将kali Linux存储库添加到Linux系统。为此,请键入 1(数字1)以添加存储库。
1 2 3 4 5 6 7 8
| 1) Add Kali repositories & Update 2) View Categories 3) Install classicmenu indicator 4) Install Kali menu 5) Help
kat > 1
|
添加Kali存储库
将打开一个子菜单。再次输入1以添加Kali-linux存储库。
1 2 3 4 5 6 7 8 9
| kat > 1
1) Add kali linux repositories 2) Update 3) Remove all kali linux repositories 4) View the contents of sources.list file
What do you want to do ?> 1
|
然后,键入2以更新存储库:
1 2 3 4 5 6 7 8 9 10 11
| Executing: /tmp/apt-key-gpghome.MvaSscaYwv/gpg.1.sh --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6 gpg: connecting dirmngr at '/tmp/apt-key-gpghome.MvaSscaYwv/S.dirmngr' failed: IPC connect call failed gpg: keyserver receive failed: No dirmngr
1) Add kali linux repositories 2) Update 3) Remove all kali linux repositories 4) View the contents of sources.list file
What do you want to do ?> 2
|
类型3,如果你想删除已添加的卡利Linux的存储库,并键入4,查看的sources.list文件的内容。
要返回上一菜单,请键入back,然后按Enter。
1 2 3 4 5 6 7 8
| What do you want to do ?> back 1) Add Kali repositories & Update 2) View Categories 3) Install classicmenu indicator 4) Install Kali menu 5) Help
kat >
|
要返回主菜单,请键入gohome,然后按Enter。
1 2 3 4 5 6 7 8
| kat > gohome 1) Add Kali repositories & Update 2) View Categories 3) Install classicmenu indicator 4) Install Kali menu 5) Help
kat >
|
2.类别
要查看所有可用类别列表,请在主菜单中键入2。
1 2 3 4 5 6 7 8 9 10 11
| kat > 2 **************************** All Categories ***************************** 1) Information Gathering 8) Exploitation Tools 2) Vulnerability Analysis 9) Forensics Tools 3) Wireless Attacks 10) Stress Testing 4) Web Applications 11) Password Attacks 5) Sniffing & Spoofing 12) Reverse Engineering 6) Maintaining Access 13) Hardware Hacking 7) Reporting Tools 14) Extra 0) All Select a category or press (0) to install all Kali linux tools .
|
如您在上面的输出中看到的,有14个类别可用。您可以一次安装所有它们,也可以通过输入相应的类别编号来安装任何特定类别。
要安装所有kali Linux工具,请键入0(零),然后按Enter键。这将安装所有工具。需要一段时间,具体取决于Internet的速度。另外,请确保硬盘驱动器中有足够的可用空间。安装所有Kali Linux可能会占用大量磁盘空间。
如果您不具备所有工具,则只需安装要使用的工具即可。举例来说,要在“ 漏洞利用工具”类别下安装工具,请键入8并按Enter。它将显示一个子菜单,并列出此类别中的所有可用软件包。您可以通过键入0(零)来安装该类别中的所有工具,或者键入任何特定的数字以将特定工具安装在“利用工具”类别下。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| kat > 8
=+[ Exploitation Tools
1) Armitage 2) Backdoor Factory 3) BeEF 4) cisco-auditing-tool 5) cisco-global-exploiter 6) cisco-ocs 7) cisco-torch 8) commix 9) crackle 10) jboss-autopwn 11) Linux Exploit Suggester 12) Maltego Teeth 13) SET 14) ShellNoob 15) sqlmap 16) THC-IPV6 17) Yersinia
0) Install all Exploitation Tools
Insert the number of the tool to install it .
kat >
|
要返回上一级菜单,请键入back,然后要返回主菜单,请键入gohome。
ClassicMenu Indicator是Ubuntu桌面环境顶部面板的通知区域小程序。它为那些喜欢Unity破折号菜单的人提供了一种获取经典GNOME风格应用程序菜单的简单方法。像经典的GNOME菜单一样,它包含Wine游戏和应用程序(如果已安装)。
要安装它,请键入3并按Enter,然后键入y进行确认并安装。
4.安装Kali菜单
要安装Kali Menu,请键入4, 然后键入 y 以确认安装。
使用Katoolin完成操作后,按 “ Ctrl + C”退出。
1
| kat > ^CShutdown requested...Goodbye...
|
就这样。如您所见,Katoolin是非常简单易用的工具,它提供了一种在Ubuntu Linux盒子中安装Kali Linux工具的简便方法。您并不总是需要Kali Linux来尝试所有取证,渗透和安全测试工具。Katoolin将在任何基于DEB的Linux系统中轻松为您完成此任务。试试看,您不会失望的。