initial commit

This commit is contained in:
2026-03-18 03:29:25 +08:00
commit 146c2c5f35
37 changed files with 1445 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#!/usr/bin/env bash
set -e
echo "================================="
echo " Runflare Kali Mirror Setup"
echo "================================="
source /etc/os-release
if [[ "$ID" != "kali" ]]; then
echo "This script only supports Kali Linux."
exit 1
fi
RELEASE=$(lsb_release -cs)
echo "[1/3] Backing up sources.list..."
cp /etc/apt/sources.list /etc/apt/sources.list.bak
echo "[2/3] Writing Runflare mirror..."
cat > /etc/apt/sources.list <<EOF
deb https://mirror-linux.runflare.com/kali $RELEASE main non-free contrib
EOF
echo "[3/3] Updating package index..."
apt update
echo "Kali mirror configured."