Katoolin3: Install Kali Linux Tools in Debian/Ubuntu distros

Tolkem

Well-Known Member
Credits
8,378
Hi everyone! Hope you're all having a nice life and a wonderful-healthy 2020! :)

I just bumped into this article https://www.ostechnix.com/install-kali-linux-tools-using-katoolin3-in-ubuntu-20-04-lts/ while checking my feed. It explains how to install katoolin3, a tool to install Kali tools in Ubuntu 20.04 but I think it might work in any other Debian/Ubuntu based distro. Since the last few weeks I've seen several posts about wifi issues in Kali here as well as around in the web, I thouhgt people will find this useful and decided to share here. :)

If you do decide to use this tool, you might want to read this warning https://github.com/LionSec/katoolin#warning

Cheers!
 
Last edited:


arochester

Moderator
Staff member
Gold Supporter
Credits
2,221
I *think* I read somewhere that it changes you sources list so you are not still running the same/old distro?

Could this be true?
 

Alexzee

Well-Known Member
Credits
8,873
I *think* I read somewhere that it changes you sources list so you are not still running the same/old distro?

Could this be true?
I hope not-o_O

If so the script would have strings in it to change or modify the src's list.
I guess the only way to find out would be to download the script and read through it:-
 
Last edited:

Alexzee

Well-Known Member
Credits
8,873
Before updating your system , please remove all Kali-linux repositories to avoid any kind of problem .


Here's the install script:
 

Tolkem

Well-Known Member
Credits
8,378
Ok, so I tried to install katoolin3 in one of my VMs running bullseye as described in the article and it didn't work; after following every step and finally running
Code:
sudo katoolin
got the error
Code:
No such file or directory
Checking the issues on its github page, looking for a possible solution, found this https://github.com/LionSec/katoolin/issues/236#issuecomment-616094417 and turns out this repository https://github.com/LionSec/katoolin is no longer maintained and is prone to errors. They recoomend to use this one https://github.com/s-h-3-l-l/katoolin3 instead, which I did and it worked. I didn't clone it though as per the instructions because it asks for your git user and password and I didn't remember those so I just downloaded it as a zip file https://github.com/s-h-3-l-l/katoolin3/archive/master.zip unzipped, renamed it from katoolin3-master to katoolin3, cd into that directory then and according to the instructions I did
Code:
chmod +x install.sh
followed by
Code:
sudo ./install.sh
to install the tool, once installed I started it with
Code:
sudo katoolin3
and it started to update sources, once that process finished I was presented with a menu to choose from 9 options, ranging from 0 to 9, I typed 0 to view categories, 12 in total





From categories, I chose 12 and then in the next menu typed 0 to install aircrack-ng



Once aircrack-ng was installed, I typed 31 to go BACK and 14 in the next menu to go Back again, finally I was in the first menu, typed 9 to exit



Then I typed
Code:
aircrack-ng --help
just to check that it's been succesfully installed



I got a warning message about not updating & upgrading my system while kali repos are enabled so if you use this tool keep that in mind; disable kali repos before updating & upgrading your systems. Other than that the tool seems to do what it promises; install kali packages/tools in an easy/friendly way. I will keep playing a bit more with it and update this post as appropiate. :)

I *think* I read somewhere that it changes you sources list so you are not still running the same/old distro?

Could this be true?
As far as I can tell I didn't see any changes in the sources.list, I did noticed it creates a katoolin3.list file in /etc/apt/sources.list.d/ which I guess one should edit and disable kali repos before updatin/upgrading the system.
 
Last edited:

Tolkem

Well-Known Member
Credits
8,378
Today I played a bit with katoolin3 and can confirm that by editing the katoolin3.list file in /etc/apt/sources.list.d and commenting the kali repo, it gets effectively disabled, so do that before updating-upgrading. Also, I did notice that if you stop katoolin3 by hitting Ctrl+C while it's installing something the katoolin3.list file it's deleted, not sure why but that happened in the VM I'm testing it. The only way to get it back was by rebooting the VM and running katoolin3 again. BTW, I think one could save/copy that file and use it as a stand alone file so it may be used in another apt based system; copy/save the file to /etc/apt/sources.list.d/ in the new system, then update && upgrade and install kali tools. As for gpg keys, you might use this https://github.com/MX-Linux/checkaptgpg just download the script, make it executable and run it. It will, as the name implies, check missing apt gpg keys, download and install them in your system.
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Credits
17,793
G'day @Yakub Sadlil and welcome to linux.org :)

Take what you have posted above and post it into your own Thread in General. You can place a link to this thread if you wish.

Cheers

Chris Turner
wizardfromoz
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top