07-13-2020, 02:56 AM
(This post was last modified: 07-13-2020, 03:14 AM by User 18618.)
Exercise caution when employing this change; adding the Kali repository to Debian is not endorsed by Offensive Security, the Debian Project, or the Mobian project
Kali packages are now accessible, and do not conflict with packages provided by Debian (or Mobian)
If a Kali package is preferable to its Debian equivalent, the package should be pinned
Code:
echo 'deb http://http.kali.org/kali kali-rolling main non-free contrib' | sudo tee /etc/apt/sources.list.d/kali.list
wget -O - https://archive.kali.org/archive-key.asc | sudo apt-key add
echo -e '# Never prefer packages from the Kali repository\nPackage: *\nPin: release o=Kali\nPin-Priority: 1' | sudo tee /etc/apt/preferences.d/99kali
Kali packages are now accessible, and do not conflict with packages provided by Debian (or Mobian)
If a Kali package is preferable to its Debian equivalent, the package should be pinned