Files
apt-detonate/poc/install.sh
2025-06-20 15:31:27 +00:00

13 lines
307 B
Bash

#!/bin/bash
set -e
BIN_PATH="$(pwd)/detect-http-proxy"
CONF_PATH="/etc/apt/apt.conf.d/30detectproxy"
echo "[*] Installing detect-http-proxy to ${BIN_PATH}"
chmod +x detect-http-proxy
echo "[*] Copying APT config to ${CONF_PATH}"
sudo cp 30detectproxy $CONF_PATH
echo "[*] Done. Now run: sudo apt update"