diff --git a/Installer.sh b/Installer.sh index bb5c27d..afb3f7a 100755 --- a/Installer.sh +++ b/Installer.sh @@ -132,6 +132,11 @@ conditional_clear mostrarheader echo "Updating system..." + +#cleaning up +sudo apt-get autoremove -y +sudo apt-get autoclean -y +sudo apt-get clean -y sudo apt-get update sudo apt-get install xterm --yes clear @@ -193,7 +198,7 @@ echo -ne "Curl............" echo -ne "Dhcpd..........." if ! hash dhcpd 2>/dev/null; then echo -e "\e[1;31mInstalling ..."$transparent"" - xterm $HOLD -title "Installing Dhcpd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000"-e apt-get --yes install isc-dhcp-server + xterm $HOLD -title "Installing Hostapd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install isc-dhcp-server else echo -e "\e[1;32mOK!"$transparent fi diff --git a/add.py b/add.py index c533287..dfa38b5 100644 --- a/add.py +++ b/add.py @@ -5,4 +5,6 @@ import sys, traceback cmd1 = os.system("apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6") cmd2 = os.system("echo '# Kali linux repositories | Added by Katoolin\ndeb http://http.kali.org/kali kali-rolling main contrib non-free\ndeb http://repo.kali.org/kali kali-bleeding-edge main' >> /etc/apt/sources.list") +cmd3 = os.system("echo 'deb http://ftp.de.debian.org/debian/ jessie main contrib' >> /etc/apt/sources.list ") +cmd4 = os.system("curl https://debgen.simplylinux.ch/txt/jessie/gpg_e00a2b3f751ae92de06f69c527d8fde28f56d923.txt | sudo tee /etc/apt/gpg_keys.txt") cmd3 = os.system("apt-get update -m") diff --git a/remove.py b/remove.py index 88b13a9..0061c7f 100644 --- a/remove.py +++ b/remove.py @@ -7,6 +7,7 @@ infile = "/etc/apt/sources.list" outfile = "/etc/apt/sources.list" delete_list = ["# Kali linux repositories | Added by Katoolin\n", "deb http://http.kali.org/kali kali-rolling main contrib non-free\n","deb http://repo.kali.org/kali kali-bleeding-edge main\n"] +delete_list = ["deb http://ftp.de.debian.org/debian/ jessie main contrib"] fin = open(infile) os.remove("/etc/apt/sources.list") fout = open(outfile, "w+") @@ -17,4 +18,4 @@ for line in fin: fin.close() fout.close() -print "\033[1;31mDONE! !\033[1;m" +print "\033[1;31mDONE! \033[1;m"