September 25, 2021

How to add Kali Linux repositories in any Debian-based distro



 Kali Linux is a great debian-based linux distro for hacking and penetration testing. Kali linux contains lot of testing tools which can be download and install easily but if you want to install those tools into another linux distro like Ubuntu, linux mint, raspbian, etc. you need to install those tools manually which is time consuming and sometimes tools not working due to some missing packages. So to overcome this issue, we can install kali linux repositories into other debian distro and install tools easily without any difficulties. in this post we are going to use a simple tool called 'portkali' to install kali repositories.


  • Features of portkali 


Add kali repositories in any debian-based distro.

Best alternative for tools like Katoolin.

Easily remove added kali repositories from your system.


  • Installation 


1) First, install python3 to run this script

    sudo apt-get install python3


2) Clone 'portkali' tool from github

    git clone https://github.com/Deadpool2000/portkali.git


3) Goto 'portkali' folder

    cd portkali


4) Now run portkali tool using,

    sudo python3 portkali.py


  • Usage


1) Install kali linux repositories


Now to install kali repositories, select first option 'Add kali repositories'.

Initially, it will take backup of your existing 'source.list' file at /etc/apt. So if something goes wrong, you can revert old repositories by renaming 'sources.list.bak' to 'sources.list'.

Then it will install kali repositories.

After this, you need to update packages from repository. This is mandatory step. So select second option 'Update system'.


2) Remove kali linux repositories


If you want to remove kali repositories added by this tool, you can simply select third option 'Remove all kali repositories' from main menu.


If you have any problem regarding this, leave a comment !

Share this post to your friends.


Also read -  How to track IP address location in Linux & Termux

0 comments:

Post a Comment

If you have any problem regrading this post, leave a comment !