如何自动安装所有Kali Linux工具在Debian / Ubuntu上使用“Katoolin”

Katoolin是一个脚本,有助于在你选择的Linux发行版安装Kali Linux工具 对于我们这些谁喜欢用用Katoolin由Kali Linux开发团队提供可以有效地做到这一点对他们首选的Linux发行渗透测试工具。

Katoolin - 安装Kali Linux工具

在本教程中,我们要看看步骤在基于Debian的衍生品安装Katoolin。

Katoolin的主要特点

  1. 添加Kali Linux存储库。
  2. 删除Kali Linux存储库。
  3. 安装Kali Linux工具。

要求

安装和使用Katoolin要求。

  1. 对于这种情况下的操作系统,我们使用Ubuntu 14.04 64位。
  2. Python 2.7

安装Katoolin

要安装Katoolin运行以下命令。

# apt-get install git
# git clone https://github.com/LionSec/katoolin.git  && cp katoolin/katoolin.py /usr/bin/katoolin
示例输出
cp katoolin/katoolin.py /usr/bin/katoolin
Cloning into 'katoolin'...
remote: Counting objects: 52, done.
remote: Total 52 (delta 0), reused 0 (delta 0), pack-reused 52
Unpacking objects: 100% (52/52), done.
Checking connectivity... done.

然后通过运行下面的命令make 在/ usr /斌/ katoolin可执行文件。

# chmod +x  /usr/bin/katoolin

现在,您可以按以下运行Katoolin。

# katoolin

下面的输出显示Katoolin的界面,当你运行该命令。

示例输出
 $$\   $$\             $$\                         $$\ $$\           
$$ | $$  |            $$ |                        $$ |\__|          
$$ |$$  /  $$$$$$\  $$$$$$\    $$$$$$\   $$$$$$\  $$ |$$\ $$$$$$$\  
$$$$$  /   \____$$\ \_$$  _|  $$  __$$\ $$  __$$\ $$ |$$ |$$  __$$\ 
$$  $$<    $$$$$$$ |  Kali linux tools installer |$$ |$$ |$$ |  $$ |
$$ |\$$\  $$  __$$ |  $$ |$$\ $$ |  $$ |$$ |  $$ |$$ |$$ |$$ |  $$ |
$$ | \$$\ \$$$$$$$ |  \$$$$  |\$$$$$$  |\$$$$$$  |$$ |$$ |$$ |  $$ |
\__|  \__| \_______|   \____/  \______/  \______/ \__|\__|\__|  \__| V1.0 
+ -- -- +=[ Author: LionSec | Homepage: www.lionsec.net
+ -- -- +=[ 330 Tools 
1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help

您可以看到它提供了一个菜单,您可以从中选择您想要做什么。

如果以上安装方式失败,您也可以尝试以下步骤。

转到https://github.com/LionSec/katoolin.git页面下载zip文件并解压。

# wget https://github.com/LionSec/katoolin/archive/master.zip
# unzip master.zip

解压后,你应该能够找到katoolin.py脚本。 运行katoolin.py命令,你将能够查看类似于上面的输出。

# cd katoolin-master/
# chmod 755 katoolin.py
#  ./katoolin.py 

如何使用Katoolin?

要添加Kali Linux的存储库和更新资料库,从菜单中选择选项1。

1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help
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
示例输出
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.DC9QzwECdM --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6
gpg: requesting key 7D8D0BF6 from hkp server pgp.mit.edu
gpg: key 7D8D0BF6: public key "Kali Linux Repository <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

然后你就可以从界面中选择选项2上面更新的存储库。 从下面的输出,我只捕获了Kali Linux存储库正在更新的部分,以便可以在Ubuntu中安装Kali Linux工具。

What do you want to do ?> 2
Ign http://in.archive.ubuntu.com vivid InRelease                                                                                            
Ign http://security.ubuntu.com vivid-security InRelease                                                                                                               
Ign http://in.archive.ubuntu.com vivid-updates InRelease                                                                                                               
Get:1 http://security.ubuntu.com vivid-security Release.gpg [933B]                                                                                                    
Ign http://in.archive.ubuntu.com vivid-backports InRelease                                                                                                                      
Get:2 http://repo.kali.org kali-bleeding-edge InRelease [11.9 kB]                                                                              
Get:3 http://security.ubuntu.com vivid-security Release [63.5 kB]                                                            
Hit http://in.archive.ubuntu.com vivid Release.gpg                                                                              
Get:4 http://repo.kali.org kali-bleeding-edge/main amd64 Packages [8,164 B]                                                
Get:5 http://in.archive.ubuntu.com vivid-updates Release.gpg [933 B]                                                                
Get:6 http://repo.kali.org kali-bleeding-edge/main i386 Packages [8,162 B]                                               
Hit http://in.archive.ubuntu.com vivid-backports Release.gpg    
...  

如果您想删除您添加的Kali Linux软件仓库 ,然后选择选项3。

What do you want to do ?> 3
All kali linux repositories have been deleted !

作为其操作的一部分,APT的包使用的/etc/apt/sources.list文件列出了“ ”,从中可以获取并安装其他的包。

要查看/etc/apt/sources.list文件的内容,选择的4。

What do you want to do ?> 4
#deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
...

回去,你可以简单地输入后面,然后按[Enter]键。

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]键。

kat > gohome
1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help
kat >

有使用Katoolin不同类别的Kali Linux的工具,你可以安装到你的Ubuntu。

要查看可用的类别,选择从主菜单中选择2。

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 .

您可以选择选择一个类别,或选择选项安装所有可用的Kali Linux工具(0)然后按[Enter]进行安装。

您也可以使用Katoolin安装ClassicMenu指标。

    1. ClassicMenu指标为Ubuntu的统一桌面环境的顶板一个应用指示符。
    2. ClassicMenu指示灯为您提供了获得这些谁喜欢这种在默认的统一划线菜单经典的GNOME风格的应用程序菜单的简单方法。

欲了解更多信息,请访问: http://www.florian-diesch.de/software/classicmenu-indicator/

要安装classicmenu指标,按y然后按[Enter]

kat > back
1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help
kat > 3
ClassicMenu Indicator is a notification area applet (application indicator) for the top panel of Ubuntu's Unity desktop environment.
It provides a simple way to get a classic GNOME-style application menu for those who prefer this over the Unity dash menu.
Like the classic GNOME menu, it includes Wine games and applications if you have those installed.
For more information , please visit : http://www.florian-diesch.de/software/classicmenu-indicator/
Do you want to install classicmenu indicator ? [y/n]> y
This PPA contains the most recent alpha/beta releases for
 * Arronax http://www.florian-diesch.de/software/arronax/
 * ClassicMenu Indicator http://www.florian-diesch.de/software/classicmenu-indicator/
* Privacy Indicator http://www.florian-diesch.de/software/indicator-privacy/
 * RunLens http://www.florian-diesch.de/software/runlens/
 * Unsettings http://www.florian-diesch.de/software/unsettings/
 * UUdeLens http://www.florian-diesch.de/software/uudelens
More info: https://launchpad.net/~diesch/+archive/ubuntu/testing
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpaqk6fphl/secring.gpg' created
gpg: keyring `/tmp/tmpaqk6fphl/pubring.gpg' created
...

您也可以在Ubuntu通过选择选项4和按y安装Kali菜单,然后按[Enter]键

要退出Katoolin,只需按下Ctrl + C组合

kat > ^CShutdown requested...Goodbye...

结论

这些安装步骤很容易遵循和使用Katoolin也很容易。 希望你觉得这篇文章有帮助。 如果您有任何其他想法,然后发表评论。 记住保持联系youcl找出更多导游像这样的。

赞(52) 打赏
未经允许不得转载:优客志 » 系统运维
分享到:

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏