mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Resurrect deb-to-kali.sh for Kali rolling.
This commit is contained in:
16
deb-to-kali.sh
Executable file
16
deb-to-kali.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ `whoami` != "root" ] ; then
|
||||
echo "This must be run as root." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BASEDIR=`dirname $0`
|
||||
|
||||
cat >/etc/apt/sources.list.d/kali.list <<KALI_EOF
|
||||
deb http://http.kali.org/kali kali-rolling main contrib non-free
|
||||
KALI_EOF
|
||||
|
||||
/usr/bin/apt-key add ${BASEDIR}/kali-repo.key
|
||||
/usr/bin/apt-get update
|
||||
/usr/bin/apt-get install -y kali-linux-full
|
||||
Reference in New Issue
Block a user