This repo contains all the programs I use on a daily basis. The scripts here are used to install those programs and get Kali-2020.3-xfce ready to use in under 10 mins right after a re-format. Because I re-format often, I felt like automating the initial setup and here we are.
What does setup.sh
(AKA install.sh) do?
- Installs all the files in the
deb
folder - Installs additional packages using live repos.
- Adds debian repos
- Disables external mouse acceleration
- Adds additional fonts
- Sets the windows partition to automount on startup
- Copies over my
dotfiles
(.config, .bash_aliases etc.)- Copies over all my XFCE UI settings.
- Copies over all my program settings.
- Copies over my
files
folder (Mostly pentesting tools)
What does beforesetup.sh
do?
- Unpacks archived files.
What does aftersetup.sh
do?
- Runs the final commands that needs to be run after a reboot.
- Open a
/bin/bash
terminal in the linux.cfg folder ./beforesetup.sh
./setup.sh
- Reboot
./aftersetup.sh
- Read setup.txt
./SELF_DESTRUCT
:)
- Automate the setup of mount by UUID. Currently, user has to look UUID up and paste it in the script themselves.
- Improved stability a ton. Added safety checks to ensure everything goes smoothly in case of a possible error.
- Added more verbosity
- setup.sh: Automated .deb file detection and installation so I won't have to manually add a line to my setup.sh whenever I add another .deb file to the deb folder. Thanks @cansozbir for the oneliner!
- Completely automated the git-lfs bypass (spending hours on this is faster than making a git-lfs package from source because kali doesn't have one). Hence added package-n-upload.sh
- Wrote the code to automate installing .deb files without manual file name checking in setup.sh, but too tired to implement rn.
- setup.sh: added lots of colors =)
- Added verbosity
- Prepared a half-automated setup script(setup.sh). It runs mostly without manual interruption but any change to the deb files require manually changing the file names in setup.sh.
- I have to manually zip every file for git-lfs bypass.