Skip to content

Instantly share code, notes, and snippets.

@killerro
Created May 20, 2014 12:30
Show Gist options
  • Save killerro/1748049da8aa73337804 to your computer and use it in GitHub Desktop.
Save killerro/1748049da8aa73337804 to your computer and use it in GitHub Desktop.
# Test Internet Connection
ping -c 1 google.com > /dev/null
if [ "$?" != 0 ]
then
echo [*] [Internet Connection]: FAILED...;
echo [x] [warning]:This Script Needs An Active Internet Connection;
sleep 3
else
echo [*] [Internet Connection]: connected...;
sleep 2
fi
main_menu()
{
while [ main_menu ]
do
clear
cat << !
_____ ___ ____ _ __ _ _ ___
| ___/ _ \| _ \ | |/ / / \ | | |_ _|
| |_ | | | | |_) | | ' / / _ \ | | | |
| _|| |_| | _ < | . \ / ___ \| |___ | |
|_| \___/|_| \_\ |_|\_\/_/ \_\_____|___| [1.0.6 x86 & x64]
____ ____ ____ ___ ____ _____
/ ___| / ___| _ \|_ _| _ \_ _|
\___ \| | | |_) || || |_) || |
___) | |___| _ < | || __/ | |
|____/ \____|_| \_\___|_| |_|
KiLLeRRo v2.0
1. Fix Kali Linux after install
2. Install Hacking Tools && wordlist update
3. Other programs....
4. Install ATI driver
#################################################
# TO INSTALL Compiz YOU NEED TO HAVE INSTALLED #
# GRAPHIC DRIVERS ATI or Nvidia !!! #
# #
# 5. Install Compiz ( Kali 32bit) #
# 6. Install Compiz ( Kali 64bit) #
#################################################
7. Install this script
8. Update installed script
9. About author...
q. Exit
!
echo -n "[-] (Your choice?):"
read choice
case $choice in
1) sh1_menu ;;
2) sh2_menu ;;
3) sh3_menu ;;
4)
#remove old or unused drivers and fix source file
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx
#add official repo Kali Linux
file=/etc/apt/sources.list; [ -e $file ]
echo "deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free " > $file
#update
apt-get update
#install linux headers and necessary drivers
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
apt-get install firmware-linux-nonfree
apt-get install amd-opencl-icd
#change repo to jessie
file=/etc/apt/sources.list; [ -e $file ]
echo "## Debian Main
deb http://ftp.debian.org/debian testing main contrib non-free
deb-src http://ftp.debian.org/debian testing main contrib non-free
## Debian Updates
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free
## Debian Security
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free " > $file
#update
apt-get update
#Install fglrx
echo " If you have chosen click YES to all of them!!! "
sleep 5
apt-get install fglrx-atieventsd fglrx-driver fglrx-control fglrx-modules-dkms -y
#testing your installation and generate xorg.conf file
fglrxinfo
echo "After minute close window with fgl_glxgears"
sleep 5
fgl_glxgears
glxinfo
echo "After minute close window with glxgears"
sleep 5
glxgears
#generate xorg.conf
aticonfig --initial -f
#repo back + add blending edge
file=/etc/apt/sources.list; [ -e $file ]
echo "deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://repo.kali.org/kali kali-bleeding-edge main" > $file
#update grub
echo "
For moments will launch grub.cfg file, This information will remain in the terminal
add radeon.modeset=0 in the end of the following line, save file and close leafpad
linux /boot/vmlinuz-3.12-kali1-amd64 root=UUID=129deb3c-0edc-473b-b8e8-507f0f2dc3f9 ro initrd=/install/gtk/initrd.gz quiet radeon.modeset=0"
sleep 10
leafpad /boot/grub/grub.cfg
#info
echo " To run driver you need reboot system after reboot run update system"
sleep 7 ;;
5)
echo " If you have chosen click YES to all of them!!! "
sleep 10
#install gdebi
apt-get install gdebi -y
# Download the necessary packages
wget http://ftp.us.debian.org/debian/pool/main/c/compizconfig-python/python-compizconfig_0.8.4-2_i386.deb
wget http://ftp.us.debian.org/debian/pool/main/c/compiz/compiz-gtk_0.8.4-4_i386.deb
wget mirror.pnl.gov/ubuntu//pool/main/g/gnome-desktop/libgnome-desktop-2-17_2.30.2-0ubuntu1_i386.deb
wget mirror.pnl.gov/ubuntu//pool/main/g/gnome-control-center/libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb
#Create the following directories
mkdir /root/rep/
mkdir /root/rep/compiz-gtk_0.8.4-4_i386/
#Extract the package compiz-gtk_0.8.4-4_i386 into the created directory
dpkg-deb -x compiz-gtk_0.8.4-4_i386.deb /root/rep/compiz-gtk_0.8.4-4_i386/
dpkg-deb -e compiz-gtk_0.8.4-4_i386.deb /root/rep/compiz-gtk_0.8.4-4_i386/DEBIAN/
#libmetacity-private0 (>= 1:2.26.0) delete and replace with libmetacity-private0a
for i in /root/rep/compiz-gtk_0.8.4-4_i386/DEBIAN/control; do sed -i -e s/"libmetacity-private0 (>= 1:2.26.0)"/"libmetacity-private0a"/g $i; done
#
dpkg-deb -b /root/rep/compiz-gtk_0.8.4-4_i386 /root/rep/compiz-gtk_0.8.4-4_i386.deb
#Created directory
mkdir /root/rep/python-compizconfig_0.8.4-2_i386/
#Extract the package python-compizconfig_0.8.4-2_i386 into the created directory
dpkg-deb -x python-compizconfig_0.8.4-2_i386.deb /root/rep/python-compizconfig_0.8.4-2_i386/
dpkg-deb -e python-compizconfig_0.8.4-2_i386.deb /root/rep/python-compizconfig_0.8.4-2_i386//DEBIAN/
#python (<< 2.7) delete and replace with python (<< 3.0)
for i in /root/rep/python-compizconfig_0.8.4-2_i386//DEBIAN/control; do sed -i -e s/"python (<< 2.7)"/"python (<< 3.0)"/g $i; done
#Delete all copy
file= /root/rep/python-compizconfig_0.8.4-2_i386/usr/share/python-support/python-compizconfig.public; [ -e $file ]
echo "pyversions=2.5,2.6,2.7
/usr/lib/pyshared/python2.5/compizconfig.so
/usr/lib/pyshared/python2.6/compizconfig.so
/usr/lib/pyshared/python2.7/compizconfig.so" > $file
#Create directory python2.7 in /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared
mkdir /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7
#Copy compizconfig.so python2.6 in /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7
cp /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.6/compizconfig.so /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7
#
dpkg-deb -b /root/rep/python-compizconfig_0.8.4-2_i386 /root/rep/python-compizconfig_0.8.4-2_i386.deb
#Install the dependencies
gdebi /root/libgnome-desktop-2-17_2.30.2-0ubuntu1_i386.deb
gdebi /root/libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb
# add squeeze repo
file=/etc/apt/sources.list; [ -e $file ]
echo "deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://ftp.us.debian.org/debian squeeze main " > $file
#update system
apt-get update
# Install compiz
apt-get install libdecoration0 libdecoration0-dev compiz-core libcompizconfig0 libcompizconfig-dev compizconfig-backend-gconf compiz-fusion-bcop compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-fusion-plugins-unsupported compiz-plugins
#Install compiz-gtk_0.8.4-4_i386 previously edited
gdebi /root/rep/compiz-gtk_0.8.4-4_i386.deb
#Install python-compizconfig_0.8.4-2_i386.deb
gdebi /root/rep/python-compizconfig_0.8.4-2_i386.deb
# Install other dependencies
apt-get install compiz-gnome compizconfig-settings-manager compiz-dev compiz
#back repo kali
file=/etc/apt/sources.list; [ -e $file ]
echo "deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://repo.kali.org/kali kali-bleeding-edge main " > $file
#info
clear
echo "
Before restarting
add to autostart name: compiz command: compiz --replace
After restarting
Go on application>system tools>preferences>compiz setting
Edit your preferences
now you need reboot "
echo && echo "Press Enter To Return To Main Menu${endc}"
read input
main_menu ;;
6)
echo " If you have chosen click YES to all of them!!! "
sleep 10
#install gdebi
apt-get install gdebi -y
# Download the necessary packages
wget http://ftp.us.debian.org/debian/pool/main/c/compizconfig-python/python-compizconfig_0.8.4-2_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/c/compiz/compiz-gtk_0.8.4-4_amd64.deb
wget http://mirror.pnl.gov/ubuntu//pool/main/g/gnome-desktop/libgnome-desktop-dev_2.32.1-2ubuntu1_amd64.deb
wget http://mirror.pnl.gov/ubuntu//pool/main/g/gnome-control-center/libgnome-window-settings1_2.30.0-0ubuntu4_amd64.deb
#Create the following directories
mkdir /root/rep/
mkdir /root/rep/compiz-gtk_0.8.4-4_amd64/
#Extract the package compiz-gtk_0.8.4-4_amd64 into the created directory
dpkg-deb -x compiz-gtk_0.8.4-4_amd64.deb /root/rep/compiz-gtk_0.8.4-4_amd64/
dpkg-deb -e compiz-gtk_0.8.4-4_amd64.deb /root/rep/compiz-gtk_0.8.4-4_amd64/DEBIAN/
#libmetacity-private0 (>= 1:2.26.0) delete and replace with libmetacity-private0a
for i in /root/rep/compiz-gtk_0.8.4-4_amd64/DEBIAN/control; do sed -i -e s/"libmetacity-private0 (>= 1:2.26.0)"/"libmetacity-private0a"/g $i; done
#
dpkg-deb -b /root/rep/compiz-gtk_0.8.4-4_amd64 /root/rep/compiz-gtk_0.8.4-4_amd64.deb
#Created directory
mkdir /root/rep/python-compizconfig_0.8.4-2_amd64/
#Extract the package python-compizconfig_0.8.4-2_i386 into the created directory
dpkg-deb -x python-compizconfig_0.8.4-2_amd64.deb /root/rep/python-compizconfig_0.8.4-2_amd64/
dpkg-deb -e python-compizconfig_0.8.4-2_amd64.deb /root/rep/python-compizconfig_0.8.4-2_amd64//DEBIAN/
#python (<< 2.7) delete and replace with python (<< 3.0)
for i in /root/rep/python-compizconfig_0.8.4-2_amd64//DEBIAN/control; do sed -i -e s/"python (<< 2.7)"/"python (<< 3.0)"/g $i; done
#Delete all copy
file= /root/rep/python-compizconfig_0.8.4-2_amd64/usr/share/python-support/python-compizconfig.public; [ -e $file ]
echo "pyversions=2.5,2.6,2.7
/usr/lib/pyshared/python2.5/compizconfig.so
/usr/lib/pyshared/python2.6/compizconfig.so
/usr/lib/pyshared/python2.7/compizconfig.so" > $file
#Create directory python2.7 in /root/rep/python-compizconfig_0.8.4-2_amd64/usr/lib/pyshared
mkdir /root/rep/python-compizconfig_0.8.4-2_amd64/usr/lib/pyshared/python2.7
#Copy compizconfig.so python2.6 in /root/rep/python-compizconfig_0.8.4-2_amd64/usr/lib/pyshared/python2.7
cp /root/rep/python-compizconfig_0.8.4-2_amd64/usr/lib/pyshared/python2.6/compizconfig.so /root/rep/python-compizconfig_0.8.4-2_amd64/usr/lib/pyshared/python2.7
#
dpkg-deb -b /root/rep/python-compizconfig_0.8.4-2_amd64 /root/rep/python-compizconfig_0.8.4-2_amd64.deb
#Install the dependencies
gdebi /root/libgnome-desktop-dev_2.32.1-2ubuntu1_amd64.deb
gdebi /root/libgnome-window-settings1_2.30.0-0ubuntu4_amd64.deb
# add squeeze repo
file=/etc/apt/sources.list; [ -e $file ]
echo "deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://ftp.us.debian.org/debian squeeze main " > $file
#update system
apt-get update
# Install compiz
apt-get install libdecoration0 libdecoration0-dev compiz-core libcompizconfig0 libcompizconfig-dev compizconfig-backend-gconf compiz-fusion-bcop compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-fusion-plugins-unsupported compiz-plugins
#Install compiz-gtk_0.8.4-4_amd64 previously edited
gdebi /root/rep/compiz-gtk_0.8.4-4_amd64.deb
#Install python-compizconfig_0.8.4-2_amd64.deb
gdebi /root/rep/python-compizconfig_0.8.4-2_amd64.deb
# Install other dependencies
apt-get install compiz-gnome compizconfig-settings-manager compiz-dev compiz
#back repo kali
file=/etc/apt/sources.list; [ -e $file ]
echo "deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://repo.kali.org/kali kali-bleeding-edge main " > $file
#info
clear
echo "
Before restarting
add to autostart name: compiz command: compiz --replace
After restarting
Go on application>system tools>preferences>compiz setting
Edit your preferences
now you need reboot "
echo && echo "Press Enter To Return To Main Menu${endc}"
read input
main_menu ;;
7)
if [ ! -e "/usr/bin/forkali" ];then
echo "Script is not installed. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
cp -v $0 /usr/bin/forkali
chmod +x /usr/bin/forkali
#rm $0
echo "Script should now be installed. Launching it !"
sleep 3
echo " to run type in terminal forkali"
sleep 3
forkali
exit 1
else
echo -e "maybe later "
fi
else
echo "Script is installed!! to run type in terminal forkali"
sleep 5
fi ;;
8)
rm -f /usr/bin/forkali
cp -v $0 /usr/bin/forkali
chmod +x /usr/bin/forkali
#rm $0
echo "Script should now be installed. Launching it !"
sleep 3
echo " to run type in terminal forkali"
sleep 3
forkali
echo "Script is installed!! to run type in terminal forkali"
sleep 5 ;;
9)
clear
echo "
###########################################################################
# For Kali Script #
# Kali Applications Automatic Installation Script #
###########################################################################
# #
# *System: Kali Linux #
# *Version: v2.0 20-MAY-2014 #
# *Developer: Killerro #
# *email: killerro999@gmail.com #
# *facebook: https://www.facebook.com/Kill.Erro010101 #
# *youtube: https://www.youtube.com/channel/UCNuu1YC7OdP5wuZqjS0XdhQ #
# #
########################################################################### "
echo && echo "Press Enter To Return To Main Menu${endc}"
read input
main_menu ;;
q) exit ;;
*) main_menu ;;
esac
clear
done
}
sh1_menu ()
{
while [ sh1_menu ]
do
clear
cat << !
_____ ___ ____ _ __ _ _ ___
| ___/ _ \| _ \ | |/ / / \ | | |_ _|
| |_ | | | | |_) | | ' / / _ \ | | | |
| _|| |_| | _ < | . \ / ___ \| |___ | |
|_| \___/|_| \_\ |_|\_\/_/ \_\_____|___| [1.0.6 x86 & x64]
____ ____ ____ ___ ____ _____
/ ___| / ___| _ \|_ _| _ \_ _|
\___ \| | | |_) || || |_) || |
___) | |___| _ < | || __/ | |
|____/ \____|_| \_\___|_| |_|
KiLLeRRo v2.0
1. Update Kali Linux
2. Fixing NetworkManger
3. Fixing repositories
4. Fix Pulseaudio
5. Fix START Postgresql & Metasploit sevice
6. Fix Wash / WPS scanner
7. Update wordlists
8. Installing flash player
9. Installing mingw
10. Fix portmapper
q. back
!
echo -n "[-] (Your choice?):"
read choice
case $choice in
1) apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y ;;
2)
echo -e "Fixing NetworkManger"
file=/etc/network/interfaces; [ -e $file ] && cp -n $file{,.bkup}
sed -i '/iface lo inet loopback/q' $file
service network-manager stop
rm -f /var/lib/NetworkManager/NetworkManager.state
service network-manager start
sleep 10 ;;
3)
echo -e "Fixing repositories"
file=/etc/apt/sources.list; [ -e $file ] && cp -n $file{,.bkup}
grep -q 'kali main non-free contrib' $file 2>/dev/null || echo "deb http://http.kali.org/kali kali main non-free contrib" >> $file
grep -q 'kali/updates main contrib non-free' $file 2>/dev/null || echo "deb http://security.kali.org/kali-security kali/updates main contrib non-free" >> $file
apt-get update && apt-get upgrade && apt-get autoremove;;
4)
for i in /etc/default/pulseaudio; do sed -i -e s/PULSEAUDIO_SYSTEM_START=0/PULSEAUDIO_SYSTEM_START=1/g $i; done
echo "Pulseaudio Fixed you need reboot system"
sleep 3 ;;
5)
update-rc.d postgresql enable
update-rc.d metasploit enable
echo "Fixed"
sleep 2;;
6)
apt-get -y install libsqlite3-dev &>/dev/null
mkdir -p /etc/reaver &>/dev/null ;;
7)
echo -e "Updating wordlists"
gzip -dc < /usr/share/wordlists/rockyou.txt.gz > /usr/share/wordlists/rockyou.txt
wget http://xato.net/files/10k%20most%20common.zip -O /tmp/10kcommon.zip && unzip -o -d /usr/share/wordlists/ /tmp/10kcommon.zip && mv -f /usr/share/wordlists/10k{\ most\ ,_most_}common.txt && rm -f /tmp/10kcommon.zip
--- Linking to more - folders
ln -sf /usr/share/dirb/wordlists /usr/share/wordlists/dirb
ln -sf /usr/share/dirbuster/wordlists /usr/share/wordlists/dirbuster
ln -sf /usr/share/fern-wifi-cracker/extras/wordlists /usr/share/wordlists/fern-wifi
ln -sf /usr/share/metasploit-framework/data/john/wordlists /usr/share/wordlists/metasploit-jtr
ln -sf /usr/share/metasploit-framework/data/wordlists /usr/share/wordlists/metasploit
ln -sf /opt/metasploit/apps/pro/data/wordlists /usr/share/wordlists/metasploit-pro
ln -sf /usr/share/webslayer/wordlist /usr/share/wordlists/webslayer
ln -sf /usr/share/wfuzz/wordlist /usr/share/wordlists/wfuzz
ln -sf /usr/share/sqlmap/txt/wordlist.txt /usr/share/wordlists/sqlmap.txt
ln -sf /usr/share/dnsmap/wordlist_TLAs.txt /usr/share/wordlists/dnsmap.txt
ln -sf /usr/share/golismero/wordlist/wfuzz/Discovery/all.txt /usr/share/wordlists/wfuzz.txt
ln -sf /usr/share/nmap/nselib/data/passwords.lst /usr/share/wordlists/nmap.lst
ln -sf /usr/share/set/src/fasttrack/wordlist.txt /usr/share/wordlists/fasttrack.txt
ln -sf /usr/share/termineter/framework/data/smeter_passwords.txt /usr/share/wordlists/termineter.txt
ln -sf /usr/share/w3af/core/controllers/bruteforce/passwords.txt /usr/share/wordlists/w3af.txt
ln -sf /usr/share/wpscan/spec/fixtures/wpscan/modules/bruteforce/wordlist.txt /usr/share/wordlists/wpscan.txt
ln -sf /usr/share/arachni/spec/fixtures/passwords.txt /usr/share/wordlists/arachni
ln -sf /usr/share/cisco-auditing-tool/lists/passwords /usr/share/wordlists/cisco-auditing-tool/
ln -sf /usr/share/wpscan/spec/fixtures/wpscan/wpscan_options/wordlist.txt /usr/share/wordlists/wpscan-options.txt
apt-cache search wordlist
find / \( -iname '*wordlist*' -or -iname '*passwords*' \)
;;
8)
echo -e "Installing flash"
apt-get -y -qq install flashplugin-nonfree ;;
9)
echo -e "Installing mingw"
apt-get -y -qq install mingw-w64 binutils-mingw-w64 gcc-mingw-w64 mingw-w64-dev mingw-w64-tools ;;
10)
update-rc.d rpcbind defaults
update-rc.d rpcbind enable
echo "portmapper fixed"
sleep 3 ;;
q) main_menu ;;
*) echo "\"$choice\" is not a valid choise"; sleep 2 ;;
esac
clear
done
}
sh2_menu ()
{
while [ sh2_menu ]
do
clear
cat << !
_____ ___ ____ _ __ _ _ ___
| ___/ _ \| _ \ | |/ / / \ | | |_ _|
| |_ | | | | |_) | | ' / / _ \ | | | |
| _|| |_| | _ < | . \ / ___ \| |___ | |
|_| \___/|_| \_\ |_|\_\/_/ \_\_____|___| [1.0.6 x86 & x64]
____ ____ ____ ___ ____ _____
/ ___| / ___| _ \|_ _| _ \_ _|
\___ \| | | |_) || || |_) || |
___) | |___| _ < | || __/ | |
|____/ \____|_| \_\___|_| |_|
KiLLeRRo v2.0
1. Install Veil /Payload
2. Install subterfuge (MITM attack)
3. Wordlist update
4. Update ExploitDB
5. Install Simple-Ducky /Payload
6. Update ettercap
7. Install Ghost-Phisher
8. Install XSSF
9. Install AngryIp Scanner
10. Setting up iceweasel +
hack bookmarks and addons
make backup your bookmarks!!
q. back
!
echo -n "[-] (Your choice?):"
read choice
case $choice in
1) echo -e "Installing veil"
apt-get -y -qq install veil ;;
2)
wget http://subterfuge.googlecode.com/files/subterfuge_1.0-1_all.deb
dpkg -i subterfuge_1.0-1_all.deb
apt-get update && apt-get -f install
echo "Install Done to run type in terminal subterfuge" ;;
3)
##### Updating wordlists
echo -e " Updating wordlists"
gzip -dc < /usr/share/wordlists/rockyou.txt.gz > /usr/share/wordlists/rockyou.txt #gunzip rockyou.txt.gz
wget http://xato.net/files/10k%20most%20common.zip -O /tmp/10kcommon.zip && unzip -o -d /usr/share/wordlists/ /tmp/10kcommon.zip && mv -f /usr/share/wordlists/10k{\ most\ ,_most_}common.txt && rm -f /tmp/10kcommon.zip
--- Linking to more - folders
ln -sf /usr/share/dirb/wordlists /usr/share/wordlists/dirb
ln -sf /usr/share/dirbuster/wordlists /usr/share/wordlists/dirbuster
ln -sf /usr/share/fern-wifi-cracker/extras/wordlists /usr/share/wordlists/fern-wifi
ln -sf /usr/share/metasploit-framework/data/john/wordlists /usr/share/wordlists/metasploit-jtr
ln -sf /usr/share/metasploit-framework/data/wordlists /usr/share/wordlists/metasploit
ln -sf /opt/metasploit/apps/pro/data/wordlists /usr/share/wordlists/metasploit-pro
ln -sf /usr/share/webslayer/wordlist /usr/share/wordlists/webslayer
ln -sf /usr/share/wfuzz/wordlist /usr/share/wordlists/wfuzz
ln -sf /usr/share/sqlmap/txt/wordlist.txt /usr/share/wordlists/sqlmap.txt
ln -sf /usr/share/dnsmap/wordlist_TLAs.txt /usr/share/wordlists/dnsmap.txt
ln -sf /usr/share/golismero/wordlist/wfuzz/Discovery/all.txt /usr/share/wordlists/wfuzz.txt
ln -sf /usr/share/nmap/nselib/data/passwords.lst /usr/share/wordlists/nmap.lst
ln -sf /usr/share/set/src/fasttrack/wordlist.txt /usr/share/wordlists/fasttrack.txt
ln -sf /usr/share/termineter/framework/data/smeter_passwords.txt /usr/share/wordlists/termineter.txt
ln -sf /usr/share/w3af/core/controllers/bruteforce/passwords.txt /usr/share/wordlists/w3af.txt
ln -sf /usr/share/wpscan/spec/fixtures/wpscan/modules/bruteforce/wordlist.txt /usr/share/wordlists/wpscan.txt
ln -sf /usr/share/arachni/spec/fixtures/passwords.txt /usr/share/wordlists/arachni
ln -sf /usr/share/cisco-auditing-tool/lists/passwords /usr/share/wordlists/cisco-auditing-tool/
ln -sf /usr/share/wpscan/spec/fixtures/wpscan/wpscan_options/wordlist.txt /usr/share/wordlists/wpscan-options.txt
apt-cache search wordlist
find / \( -iname '*wordlist*' -or -iname '*passwords*' \) #-exec ls -l {} \;
;;
4)
echo -e "update your Exploitdb"
cd /usr/share/exploitdb
rm -rf archive.tar.bz2
wget http://www.exploit-db.com/archive.tar.bz2
tar xvfj archive.tar.bz2
rm -rf archive.tar.bz2
echo -e "Done"
sleep 3 ;;
5)
wget https://simple-ducky-payload-generator.googlecode.com/files/installer_v1.1.0_debian.sh
chmod +x installer_v1.1.0_debian.sh
./installer_v1.1.0_debian.sh
rm installer_v1.1.0_debian.sh
echo " To run type in terminal simple-ducky"
sleep 3 ;;
6)
echo -e "Installing depends"
apt-get install debhelper cmake bison flex libgtk2.0-dev libltdl3-dev libncurses-dev libncurses5-dev libnet1-dev libpcap-dev libpcre3-dev libssl-dev ghostscript python-gtk2-dev libpcap0.8-dev
echo -e "Depends Installed"
cd /tmp
echo -e "Downloading Ettercap"
git clone https://github.com/Ettercap/ettercap.git
echo -e "Building Ettercap"
cd ettercap
mkdir build
cd build
cmake ../
make
echo -e "Done Building Ettercap"
echo -e "Installing Ettercap"
make install
echo -e "Installing Done"
echo -e "Deleting temp files"
cd ../../
rm -rf ettercap/
echo -e "Done deleting install files"
sleep 3 ;;
7)
echo -e "Installing Ghost-Phisher now!"
cd /tmp
wget https://ghost-phisher.googlecode.com/files/Ghost-Phisher_1.5_all.deb
dpkg -i Ghost-Phisher_1.5_all.deb
rm Ghost-Phisher_1.5_all.deb
echo -e "Installing Done !"
sleep3 ;;
8)
echo -e "Installing Xssf..."
cd /opt/metasploit/apps/pro/msf3
svn export http://xssf.googlecode.com/svn/trunk ./ --force
echo -e " Installing Done"
echo -e "Open a terminal launch msfconsole \n then inside metasploit type 'load xssf Port=666' or what everport number you want"
sleep6 ;;
9)
if [ ! -e "/usr/bin/ipscan" ];then
echo -e "AngryIp Scanner is not installed. Installation running"
echo -e "Installing Angry IP Scanner "
# Install
cd /root/ &>/dev/null
if [ $(uname -m) == "x86_64" ] ; then
#64 bit system
wget -N http://sourceforge.net/projects/ipscan/files/ipscan3-binary/3.2/ipscan_3.2_amd64.deb &>/dev/null
dpkg -i ipscan_3.2_amd64.deb &>/dev/null
apt-get -f install
else
#32 bit system
wget -N http://sourceforge.net/projects/ipscan/files/ipscan3-binary/3.2/ipscan_3.2_i386.deb &>/dev/null
dpkg -i ipscan_3.2_i386.deb &>/dev/null
apt-get -f install
fi
else
echo -e "AngryIP Scanner is installed"
sleep 5
fi ;;
10)
echo -e " Setting up iceweasel"
apt-get install -y -qq unzip
#--- Configure iceweasel
iceweasel & sleep 15; killall -q -w iceweasel >/dev/null
file=$(echo /root/.mozilla/firefox/*.default/prefs.js); [ -e $file ] && cp -n $file{,.bkup}
sed -i 's/^.*browser.startup.page.*/user_pref("browser.startup.page", 0);' $file 2>/dev/null || echo 'user_pref("browser.startup.page", 0);' >> $file
sed -i 's/^.*privacy.donottrackheader.enabled.*/user_pref("privacy.donottrackheader.enabled", true);' $file 2>/dev/null || echo 'user_pref("privacy.donottrackheader.enabled", true);' >> $file
sed -i 's/^.*browser.showQuitWarning.*/user_pref("browser.showQuitWarning", true);' $file 2>/dev/null || echo 'user_pref("browser.showQuitWarning", true);' >> $file
file=$(echo /root/.mozilla/firefox/*.default/bookmarks.html); [ -e $file ] && cp -n $file{,.bkup}
wget http://pentest-bookmarks.googlecode.com/files/bookmarksv1.5.html -O /tmp/bookmarks_new.html
rm -f /root/.mozilla/firefox/*.default/places.sqlite
rm -f /root/.mozilla/firefox/*.default/bookmarkbackups/*
awk '!a[$0]++' /tmp/bookmarks_new.html | egrep -v ">(Latest Headlines|Getting Started|Recently Bookmarked|Recent Tags|Mozilla Firefox|Help and Tutorials|Customize Firefox|Get Involved|About Us|Hacker Media|Bookmarks Toolbar|Most Visited)</" | egrep -v "^ </DL><p>" | egrep -v "^<DD>Add" > $file
sed -i 's#^</DL><p># </DL><p>\n </DL><p>\n <DT><A HREF="https://127.0.0.1:8834">Nessus</A>\n <DT><A HREF="https://127.0.0.1:9392">OpenVAS</A>\n <DT><A HREF="https://127.0.0.1:3790">MSF Community</A>\n</DL><p>#' $file
sed -i 's#<HR>#<DT><H3 ADD_DATE="1303667175" LAST_MODIFIED="1303667175" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>\n<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar#' $file
path=$(echo /root/.mozilla/firefox/*.default/)extensions/
mkdir -p $path
wget https://addons.mozilla.org/firefox/downloads/latest/1865/addon-1865-latest.xpi?src=dp-btn-primary -O $path/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi # Adblock Plus
wget https://addons.mozilla.org/firefox/downloads/latest/92079/addon-92079-latest.xpi?src=dp-btn-primary -O $path/{bb6bc1bb-f824-4702-90cd-35e2fb24f25d}.xpi # Cookies Manager+
wget https://addons.mozilla.org/firefox/downloads/latest/1843/addon-1843-latest.xpi?src=dp-btn-primary -O $path/firebug@software.joehewitt.com.xpi # Firebug - not working 100%
wget https://addons.mozilla.org/firefox/downloads/file/150692/foxyproxy_basic-2.6.2-fx+tb+sm.xpi?src=search -O /tmp/FoxyProxyBasic.zip && unzip -o /tmp/FoxyProxyBasic.zip -d $path/foxyproxy-basic@eric.h.jung/; rm -f /tmp/FoxyProxyBasic.zip
wget https://www.eff.org/files/https-everywhere-latest.xpi -O $path/https-everywhere@eff.org.xpi
wget https://addons.mozilla.org/firefox/downloads/latest/3829/addon-3829-latest.xpi?src=dp-btn-primary -O $path/{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}.xpi # Live HTTP Headers
wget https://addons.mozilla.org/firefox/downloads/file/79565/tamper_data-11.0.1-fx.xpi?src=dp-btn-primary -O $path/{9c51bd27-6ed8-4000-a2bf-36cb95c0c947}.xpi # Tamper Data - not working 100%
wget https://addons.mozilla.org/firefox/downloads/latest/300254/addon-300254-latest.xpi?src=dp-btn-primary -O $path/check-compatibility@dactyl.googlecode.com.xpi # Disable Add-on Compatibility Checks
# Install addons
file=$(echo /root/.mozilla/firefox/*.default/foxyproxy.xml); [ -e $file ] && cp -n $file{,.bkup}
if [[ -e $file ]]; then
sed -i 's#<proxies><proxy name="Default"#<proxies><proxy name="localhost:8080" id="1145138293" notes="" fromSubscription="false" enabled="true" mode="manual" selectedTabIndex="0" lastresort="false" animatedIcons="true" includeInCycle="false" color="\#FC0511" proxyDNS="true" noInternalIPs="false" autoconfMode="pac" clearCacheBeforeUse="true" disableCache="true" clearCookiesBeforeUse="false" rejectCookies="false"><matches/><autoconf url="" loadNotification="true" errorNotification="true" autoReload="false" reloadFreqMins="60" disableOnBadPAC="true"/><autoconf url="http://wpad/wpad.dat" loadNotification="true" errorNotification="true" autoReload="false" reloadFreqMins="60" disableOnBadPAC="true"/><manualconf host="127.0.0.1" port="8080" socksversion="5" isSocks="false" username="" password="" domain=""/></proxy><proxy name="Default"#' $file
else
echo -e '<?xml version="1.0" encoding="UTF-8"?>\n<foxyproxy mode="disabled" selectedTabIndex="0" toolbaricon="true" toolsMenu="true" contextMenu="true" advancedMenus="false" previousMode="disabled" resetIconColors="true" useStatusBarPrefix="true" excludePatternsFromCycling="false" excludeDisabledFromCycling="false" ignoreProxyScheme="false" apiDisabled="false" proxyForVersionCheck=""><random includeDirect="false" includeDisabled="false"/><statusbar icon="true" text="false" left="options" middle="cycle" right="contextmenu" width="0"/><toolbar left="options" middle="cycle" right="contextmenu"/><logg enabled="false" maxSize="500" noURLs="false" header="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;\n&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;link rel=&quot;icon&quot; href=&quot;http://getfoxyproxy.org/favicon.ico&quot;/&gt;&lt;link rel=&quot;shortcut icon&quot; href=&quot;http://getfoxyproxy.org/favicon.ico&quot;/&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;http://getfoxyproxy.org/styles/log.css&quot; type=&quot;text/css&quot;/&gt;&lt;/head&gt;&lt;body&gt;&lt;table class=&quot;log-table&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;td class=&quot;heading&quot;&gt;${timestamp-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${url-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${proxy-name-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${proxy-notes-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${pattern-name-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${pattern-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${pattern-case-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${pattern-type-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${pattern-color-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${pac-result-heading}&lt;/td&gt;&lt;td class=&quot;heading&quot;&gt;${error-msg-heading}&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tfoot&gt;&lt;tr&gt;&lt;td/&gt;&lt;/tr&gt;&lt;/tfoot&gt;&lt;tbody&gt;" row="&lt;tr&gt;&lt;td class=&quot;timestamp&quot;&gt;${timestamp}&lt;/td&gt;&lt;td class=&quot;url&quot;&gt;&lt;a href=&quot;${url}&quot;&gt;${url}&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;proxy-name&quot;&gt;${proxy-name}&lt;/td&gt;&lt;td class=&quot;proxy-notes&quot;&gt;${proxy-notes}&lt;/td&gt;&lt;td class=&quot;pattern-name&quot;&gt;${pattern-name}&lt;/td&gt;&lt;td class=&quot;pattern&quot;&gt;${pattern}&lt;/td&gt;&lt;td class=&quot;pattern-case&quot;&gt;${pattern-case}&lt;/td&gt;&lt;td class=&quot;pattern-type&quot;&gt;${pattern-type}&lt;/td&gt;&lt;td class=&quot;pattern-color&quot;&gt;${pattern-color}&lt;/td&gt;&lt;td class=&quot;pac-result&quot;&gt;${pac-result}&lt;/td&gt;&lt;td class=&quot;error-msg&quot;&gt;${error-msg}&lt;/td&gt;&lt;/tr&gt;" footer="&lt;/tbody&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;"/><warnings/><autoadd enabled="false" temp="false" reload="true" notify="true" notifyWhenCanceled="true" prompt="true"><match enabled="true" name="Dynamic AutoAdd Pattern" pattern="*://${3}${6}/*" isRegEx="false" isBlackList="false" isMultiLine="false" caseSensitive="false" fromSubscription="false"/><match enabled="true" name="" pattern="*You are not authorized to view this page*" isRegEx="false" isBlackList="false" isMultiLine="true" caseSensitive="false" fromSubscription="false"/></autoadd><quickadd enabled="false" temp="false" reload="true" notify="true" notifyWhenCanceled="true" prompt="true"><match enabled="true" name="Dynamic QuickAdd Pattern" pattern="*://${3}${6}/*" isRegEx="false" isBlackList="false" isMultiLine="false" caseSensitive="false" fromSubscription="false"/></quickadd><defaultPrefs origPrefetch="null"/><proxies><proxy name="localhost:8080" id="1145138293" notes="" fromSubscription="false" enabled="true" mode="manual" selectedTabIndex="0" lastresort="false" animatedIcons="true" includeInCycle="false" color="#FC0511" proxyDNS="true" noInternalIPs="false" autoconfMode="pac" clearCacheBeforeUse="true" disableCache="true" clearCookiesBeforeUse="false" rejectCookies="false"><matches/><autoconf url="" loadNotification="true" errorNotification="true" autoReload="false" reloadFreqMins="60" disableOnBadPAC="true"/><autoconf url="http://wpad/wpad.dat" loadNotification="true" errorNotification="true" autoReload="false" reloadFreqMins="60" disableOnBadPAC="true"/><manualconf host="127.0.0.1" port="8080" socksversion="5" isSocks="false" username="" password="" domain=""/></proxy><proxy name="Default" id="3377581719" notes="" fromSubscription="false" enabled="true" mode="direct" selectedTabIndex="0" lastresort="true" animatedIcons="false" includeInCycle="true" color="#0055E5" proxyDNS="true" noInternalIPs="false" autoconfMode="pac" clearCacheBeforeUse="false" disableCache="false" clearCookiesBeforeUse="false" rejectCookies="false"><matches><match enabled="true" name="All" pattern="*" isRegEx="false" isBlackList="false" isMultiLine="false" caseSensitive="false" fromSubscription="false"/></matches><autoconf url="" loadNotification="true" errorNotification="true" autoReload="false" reloadFreqMins="60" disableOnBadPAC="true"/><autoconf url="http://wpad/wpad.dat" loadNotification="true" errorNotification="true" autoReload="false" reloadFreqMins="60" disableOnBadPAC="true"/><manualconf host="" port="" socksversion="5" isSocks="false" username="" password=""/></proxy></proxies></foxyproxy>' > $file
fi
#Restore to folder
cd - &>/dev/null ;;
q) main_menu ;;
*) echo "\"$choice\" is not a valid choise"; sleep 2 ;;
esac
clear
done
}
sh3_menu ()
{
while [ sh3_menu ]
do
clear
cat << !
_____ ___ ____ _ __ _ _ ___
| ___/ _ \| _ \ | |/ / / \ | | |_ _|
| |_ | | | | |_) | | ' / / _ \ | | | |
| _|| |_| | _ < | . \ / ___ \| |___ | |
|_| \___/|_| \_\ |_|\_\/_/ \_\_____|___| [1.0.6 x86 & x64]
____ ____ ____ ___ ____ _____
/ ___| / ___| _ \|_ _| _ \_ _|
\___ \| | | |_) || || |_) || |
___) | |___| _ < | || __/ | |
|____/ \____|_| \_\___|_| |_|
KiLLeRRo v2.0
1. Installing geany
2. Installing libreoffice
3. Installing recordmydesktop
4. Installing shutter
5. Installing gparted
6. Installing filezilla
7. Installing zip/unzip
8. Installing Virtualbox 64bit
9. Installing Virtualbox 32bit
10. Installing dkopp /backup
q. back
!
echo -n "[-] (Your choice?):"
read choice
case $choice in
1)
echo -e " Installing geany"
apt-get -y -qq install geany
# Add to panel
dconf load /org/gnome/gnome-panel/layout/objects/geany/ << EOT
[instance-config]
location='/usr/share/applications/geany.desktop'
[/]
object-iid='PanelInternalFactory::Launcher'
pack-index=3
pack-type='start'
toplevel-id='top-panel'
EOT
dconf write /org/gnome/gnome-panel/layout/object-id-list "$(dconf read /org/gnome/gnome-panel/layout/object-id-list | sed "s/]/, 'geany']/")"
#Configure geany
geany & sleep 5; killall -q -w geany >/dev/null
file=/root/.config/geany/geany.conf; [ -e $file ] && cp -n $file{,.bkup}
sed -i 's/^.*indent_type.*/indent_type=0/' $file # Spaces over tabs
sed -i 's/^.*pref_editor_newline_strip.*/pref_editor_newline_strip=true/' $file
sed -i 's/^.*pref_editor_replace_tabs.*/pref_editor_replace_tabs=true/' $file
sed -i 's/^.*pref_editor_trail_space.*/pref_editor_trail_space=true/' $file
sed -i 's/^check_detect_indent=.*/check_detect_indent=true/' $file
sed -i 's/^pref_editor_ensure_convert_line_endings=.*/pref_editor_ensure_convert_line_endings=true/' $file
sed -i 's/^.*active_plugins.*/active_plugins=\/usr\/lib\/geany\/htmlchars.so;\/usr\/lib\/geany\/saveactions.so;\/usr\/lib\/geany\/splitwindow.so;/' $file
mkdir -p /root/backups/geany/
mkdir -p /root/.config/geany/plugins/saveactions/
file=/root/.config/geany/plugins/saveactions/saveactions.conf; [ -e $file ] && cp -n $file{,.bkup}
echo -e '\n[saveactions]\nenable_autosave=false\nenable_instantsave=false\nenable_backupcopy=true\n\n[autosave]\nprint_messages=false\nsave_all=false\ninterval=300\n\n[instantsave]\ndefault_ft=None\n\n[backupcopy]\ndir_levels=5\ntime_fmt=%Y-%m-%d-%H-%M-%S\nbackup_dir=/root/backups/geany' > $file ;;
2)
echo -e "Installing libreoffice"
apt-get -y -qq install libreoffice ;;
3)
echo -e "Installing recordmydesktop"
apt-get -y -qq install gtk-recordmydesktop ;;
4)
echo -e "Installing shutter"
apt-get -y -qq install shutter ;;
5)
echo -e "Installing gparted"
apt-get -y -qq install gparted ;;
6)
echo -e "Installing filezilla"
apt-get -y -qq install filezilla
apt-get -f -qq install
#--- Configure filezilla
filezilla & sleep 5; killall -q -w filezilla >/dev/null
sed -i 's/^.*"Default editor".*/\t<Setting name="Default editor" type="string">2\/usr\/bin\/geany<\/Setting>/' /root/.filezilla/filezilla.xml ;;
7)
echo -e "Installing zip/unzip"
apt-get -y -qq install zip
apt-get -y -qq install unzip ;;
8)
wget http://download.virtualbox.org/virtualbox/4.3.12/virtualbox-4.3_4.3.12-93733~Debian~wheezy_amd64.deb
dpkg -i virtualbox-4.3_4.3.12-93733~Debian~wheezy_amd64.deb
apt-get -f install ;;
9)
wget http://download.virtualbox.org/virtualbox/4.3.12/virtualbox-4.3_4.3.12-93733~Debian~wheezy_i386.deb
dpkg -i virtualbox-4.3_4.3.12-93733~Debian~wheezy_i386.deb
apt-get -f install ;;
10)
apt-get install dkopp -y
apt-get -f install dkopp -y
clear
echo " *************** to make backup type ***dkopp*** in terminal"
sleep 5 ;;
q) main_menu ;;
*) echo "\"$choice\" is not a valid choise"; sleep 2 ;;
esac
clear
done
}
main_menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment