Skip to content

Instantly share code, notes, and snippets.

@AD2011
AD2011 / squid_proxy_tutorial.md
Last active June 11, 2025 06:58 — forked from jackblk/squid_proxy_tutorial.md
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid
sudo apt-get install apache2-utils
@AD2011
AD2011 / kali_repo.sh
Created March 29, 2025 04:02
Kali Repo on any Linux Distro
# Add repo to /etc/apt
sudo sh -c "echo 'deb https://http.kali.org/kali kali-rolling main non-free contrib' > /etc/apt/sources.list.d/kali.list"
# Set Kali repo priority lower than the distro's official repos.
sudo sh -c "echo 'Package: *'>/etc/apt/preferences.d/kali.pref; echo 'Pin: release a=kali-rolling'>>/etc/apt/preferences.d/kali.pref; echo 'Pin-Priority: 50'>>/etc/apt/preferences.d/kali.pref"
# Install Kali repo keyring
wget https://kali.download/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2024.1_all.deb
sudo dpkg -i kali-archive-keyring_2024.1_all.deb
sudo rm kali-archive-keyring_2024.1_all.deb