Kali Linux 2 2017.1 Post Install Script
Page 1 of 1
Kali Linux 2 2017.1 Post Install Script
Vid
- Code:
#!/bin/bash
# chmod +x *.sh
apt-get clean
cp /etc/apt/sources.list /etc/apt/sources.list_backup
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
apt install -y build-essential vlc yum git gedit hexedit ghex notify-osd libnotify-bin ytalk iperf
Last edited by jamied_uk on 6th May 2017, 18:12; edited 6 times in total
Re: Kali Linux 2 2017.1 Post Install Script
Security Version Of This Script (Experimental)
- Code:
#!/bin/bash
# chmod +x *.sh
cp /etc/apt/sources.list /etc/apt/sources.list_backup
apt update && apt upgrade -y
#apt install -y build-essential vlc yum git gedit
apt-get clean
# deb cdrom:Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02/ sana contrib main non-free
#deb cdrom:Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02/ sana contrib main non-free
#deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
#deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free
# Regular repositories
echo "deb http://http.kali.org/kali sana main non-free contrib" > /etc/apt/sources.list
#deb http://http.kali.org/kali sana main non-free contrib
echo "deb http://security.kali.org/kali-security sana/updates main contrib non-free" >> /etc/apt/sources.list
#deb http://security.kali.org/kali-security sana/updates main contrib non-free
# Source repositories
echo "deb-src http://http.kali.org/kali sana main non-free contrib" >> /etc/apt/sources.list
#deb-src http://http.kali.org/kali sana main non-free contrib
echo "deb-src http://security.kali.org/kali-security sana/updates main contrib non-free" >> /etc/apt/sources.list
#deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
apt update && apt upgrade -y
apt install -y build-essential vlc yum git gedit
apt-get clean
Last edited by jamied_uk on 4th May 2017, 13:33; edited 1 time in total
Re: Kali Linux 2 2017.1 Post Install Script
Restore Sources
- Code:
#!/bin/bash
# chmod +x *.sh
cp /etc/apt/sources.list_backup /etc/apt/sources.list
apt update && apt upgrade -y
#apt install -y build-essential vlc yum git gedit
apt-get clean
Re: Kali Linux 2 2017.1 Post Install Script
Testing Security & Adding A Non Root User
- Code:
#!/bin/bash
var="USER INPUT"
grep Root /etc/ssh/sshd_config
PermitRootLogin without-password
print "Enter A New Username For Non Root User With Same Power!"
useradd -m $var
usermod -a -G sudo $var
Similar topics
» Trity Install Script For Kali Linux
» Kali Linux 2 Pentesting Auto Install Pentesting Apps Script
» how to install kde 4.8 in linux
» LINUX AFTER INSTALL HELP
» Linux Mint 18 Mail Server Via Gmail 2017
» Kali Linux 2 Pentesting Auto Install Pentesting Apps Script
» how to install kde 4.8 in linux
» LINUX AFTER INSTALL HELP
» Linux Mint 18 Mail Server Via Gmail 2017
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum