The Journey
Cyber Security
Cyber Security
  • Chapter 1: Setting up Debian
    • Make User Sudoer
    • Change SSH Keys
    • Add Kali Repositories
    • Bidirectional Clipboard
    • Create Flameshot Keybind
    • Install Peek and add keybind
    • Customizing Looks and Feels
    • Disable Suspend/Hibernation
    • Add Min/Max buttons to Windows
    • Install and Configure ZSH for Terminal Syntax Highlighting
  • Chapter 2: Bug Bounty Basics
    • Web Requests
      • HTTP Fundamentals
        • HTTP
        • URL
        • HTTP Flow
        • cURL
        • HTTPS
        • HTTPS Flow
        • cURL for HTTPS
        • HTTP Request
        • HTTP Response
        • HTTP Headers
        • More cURL
        • Browser DevTools
      • HTTP Methods
  • Cheat Sheets
    • cURL / DevTools
Powered by GitBook
On this page
  1. Chapter 1: Setting up Debian

Add Kali Repositories

PreviousChange SSH KeysNextBidirectional Clipboard

Last updated 3 years ago

Add Kali Repositories: sudo pluma /etc/apt/sources.list

Add the following at the end of the file:

deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib

When updating there should be an error.

sudo apt install gnupg

wget 'https://archive.kali.org/archive-key.asc'

sudo apt-key add archive-key.asc

sudo apt update (DO NOT UPGRADE YET)

Next the priority of packages from Kali repositories need to be established. Giving Kali packages (ex. Kernels) lower priority means that they will be installed manually and not clash with our Debian stuffs.

pluma /etc/apt/preferences.d/kali.pref

Within the file just created put:

Package: * Pin: release a=kali-rolling Pin-Priority: 50

The last thing we are missing is ensuring that we download all dependencies with each new tool we get.

sudo apt install aptitude sudo apt -y upgrade sudo aptitude -y upgrade

Now whenever you want to install a new tool:

sudo aptitude install <YourNewToy>

Enjoy installing whatever Kali Tools you prefer.