Ubuntu安装katoolin工具

Ubuntu安装katoolin工具

十二月 09, 2019

Ubuntu安装katoolin安装kali工具集


前言:由于同学推荐,我第一次了解到了 Windows Subsystem of Linux,原了我一直想寻找一款在Windows上运行的bash(除了git bash)

于是突发奇想,打算装一个katoolin玩玩(是自己处理不好了),于是就有了这个记录


第一步: 那必然是整WSL啦 (WSL:我死了)

首先要做的是,打开控制面板的程序和功能中的基于Windows的Linux子系统.

然后重启啊啥的

win + r ,输入 bash

看到一个一闪而过的命令行,大概明白了,没装Linux系统.

于是,开始安装咯~


第二步: 良心的Windows自带的商店里自带了Linux,直接搜索框搜索Linux就好啦~

然后选择你要下载的Linux

然后下载完打开,启动,输入用户名,输入密码,完事了.

(P.S. 害,第一次的时候用户名第一个字母用了大写,导致一直没过,害我想了半天,那个时候感觉自己无比的弱智…..)

NOTICE: 本着原则,我先下载了Kali Linux,但是发现里面啥都没有,只是一个空的系统,非常失望,打算祭出祖传的apt-get update发现我不是root用户!!!!!!!!!


第三步: 更换自己的身份

本着方便的原则,我觉得更改自己的身份,咱好歹也是Administrator啊.

打开祖传的cmd(我用的是Anaconda Powershell Prompt),输入命令:
kali config --default-user root
重新打开bash,就发现自己是root了
然后输入passwd,就可以修改root密码啦
484炒鸡简单!


第四步: 梦想的破灭

既然都更换身份了,那新官上任也有三把火啊,于是熟练的打起了apt-get update,然后发现

啊!!!! 报错啦!!!

十分的苦恼,原来自己当了个空官,

害! 此处不留爷, 自有留爷处, 走了!

(P.S. 主要是大家都遇到了这个问题, 百度上也没有人解释, 当然主要还是我懒,没有去好好的观看kali的文档,不过当时想到的是别的解决办法就是了)


第五步: 开启新的征程

看着自己的国家支离破碎,心里说不出什么滋味.在远行的途中,发现了一个新的国家,叫做Ubuntu.在自己的国家中也听过它的故事,既然自己的国家破碎了,那就去它那里过一过吧.

于是我熟练的又走了1到3步骤,唯一不同的是,国家变了,这个名字,可不能再叫原来的名字了,于是修改如下:
Ubuntu config --default-user root


第六步: 一些突发情况

凭着自己的本能, 你输入了如下话语:
leafpad /etc/apt/source.list
深思熟虑了一下,我这是在Windows下,哪来的leafpad呢,
于是修改话语:
notepad /etc/apt/source.list
打开了那个让你熟悉的东西,输入了kali的源,然后配置好了密钥
(这一块如果不会的话,可以自行百度,如果要说的话就太长了,牵涉到kali的很多东西)

熟悉的输入apt-get update
发现还是报错了.可能是我操作不当,或者对某些东西的了解还不够透彻,查阅了资料,翻看了不少东西,发现了katoolin.


第七步: 不能在一棵树上吊死

有了这个玩意,兴奋不已,这不是就很舒服嘛!美滋滋.
于是,输入了如下命令:
First, AbeanCC should pass the CET6.
First: you should install those thing you need.
(source.list I return to old-original version(QAQ))

1
2
apt-get update
apt-get install git

I’m very surprise that Ubuntu has already install newest version git!!!!

Then: you are supposed to install python2.7
As we know, the katoolin need python2.7 environment.
So….Let’s do this!

1
apt-get install python2.7

Check your python is successfully installed, you can input that commend
If you are very confidence, you can skip this step!

1
python2.7 --version

Oh my god!
They turn to face each other
It was just happened to dance
That these two programs would meet that day and do their favourite dance
WOW you can really dance!
WOW you can really dance!

1
git clone https://github.com/LionSec/katoolin.git && cp katoolin/katoolin.py /usr/bin/katoolin

Clone from git repository.
And copy the python script into catalog which called /usr/bin/

Finish this job, bind the limits of execution authority to python script.

1
chmod -x /usr/bin/katoolin

Finally, you just need python2.7 katoolin/katoolin.py.
then you can see this view….

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

$$\ $$\ $$\ $$\ $$\
$$ | $$ | $$ | $$ |\__|
$$ |$$ / $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$ |$$\ $$$$$$$\
$$$$$ / \____$$\ \_$$ _| $$ __$$\ $$ __$$\ $$ |$$ |$$ __$$\
$$ $$< $$$$$$$ | 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 >

If this appear in your screen.
You make it, bro!!!!!!
Congratulations!!!


第八步: 我的一个朋友好了(I am fine)

都装好了还不快用?? 在这傻愣着干嘛!!

END.


以上就是我的一次记录,欢迎大家指出问题或者解决我提出的问题,Thanks!
(啥, 你问我为啥最后要用英文??? 那必然是快考六级了, 提前练练啊)
QQ: 527430509
欢迎大家喔