Last active
April 13, 2018 11:19
-
-
Save killerro/0207cf2fc8dfd1850db9 to your computer and use it in GitHub Desktop.
kali linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 v1.1.1 | |
1. Fix Kali Linux after install | |
2. Install Hacking Tools && wordlist update | |
3. Other programs.... | |
4. Install this script | |
5. Update installed script | |
6. About author... | |
q. Exit | |
! | |
echo -n "[-] (Your choice?):" | |
read choice | |
case $choice in | |
1) sh1_menu ;; | |
2) sh2_menu ;; | |
3) sh3_menu ;; | |
4) | |
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 ;; | |
5) | |
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 ;; | |
6) | |
clear | |
echo " | |
########################################################################### | |
# For Kali Script # | |
# Kali Applications Automatic Installation Script # | |
########################################################################### | |
# # | |
# *System: Kali Linux # | |
# *Version: v1.1.1 19-MAY-2014 # | |
# *Developer: Killerro # | |
# *email: [email protected] # | |
# *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 v1.1.1 | |
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 v1.1.1 | |
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 ~ http://bugs.kali.org/view.php?id=429 | |
echo -e "\e[01;32m[+]\e[00m Updating wordlists" | |
#--- Extract rockyou wordlist | |
gzip -dc < /usr/share/wordlists/rockyou.txt.gz > /usr/share/wordlists/rockyou.txt #gunzip rockyou.txt.gz | |
#rm -f /usr/share/wordlists/rockyou.txt.gz | |
#--- Extract sqlmap wordlist | |
#unzip -o -d /usr/share/sqlmap/txt/ /usr/share/sqlmap/txt/wordlist.zip | |
#--- Add 10,000 Top/Worst/Common Passwords | |
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/[email protected] # 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/[email protected]/; rm -f /tmp/FoxyProxyBasic.zip | |
wget https://www.eff.org/files/https-everywhere-latest.xpi -O $path/[email protected] | |
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/[email protected] # 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="<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><link rel="icon" href="http://getfoxyproxy.org/favicon.ico"/><link rel="shortcut icon" href="http://getfoxyproxy.org/favicon.ico"/><link rel="stylesheet" href="http://getfoxyproxy.org/styles/log.css" type="text/css"/></head><body><table class="log-table"><thead><tr><td class="heading">${timestamp-heading}</td><td class="heading">${url-heading}</td><td class="heading">${proxy-name-heading}</td><td class="heading">${proxy-notes-heading}</td><td class="heading">${pattern-name-heading}</td><td class="heading">${pattern-heading}</td><td class="heading">${pattern-case-heading}</td><td class="heading">${pattern-type-heading}</td><td class="heading">${pattern-color-heading}</td><td class="heading">${pac-result-heading}</td><td class="heading">${error-msg-heading}</td></tr></thead><tfoot><tr><td/></tr></tfoot><tbody>" row="<tr><td class="timestamp">${timestamp}</td><td class="url"><a href="${url}">${url}</a></td><td class="proxy-name">${proxy-name}</td><td class="proxy-notes">${proxy-notes}</td><td class="pattern-name">${pattern-name}</td><td class="pattern">${pattern}</td><td class="pattern-case">${pattern-case}</td><td class="pattern-type">${pattern-type}</td><td class="pattern-color">${pattern-color}</td><td class="pac-result">${pac-result}</td><td class="error-msg">${error-msg}</td></tr>" footer="</tbody></table></body></html>"/><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 v1.1.1 | |
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 | |
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 ;; | |
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