Skip to content

Instantly share code, notes, and snippets.

@momenbasel
Last active July 2, 2020 06:19
Show Gist options
  • Save momenbasel/9fc15b5d619c7f5a775da4d398c1dc3d to your computer and use it in GitHub Desktop.
Save momenbasel/9fc15b5d619c7f5a775da4d398c1dc3d to your computer and use it in GitHub Desktop.
script to automate installations of packages, updates without corrupting parallels tools in kali19
#!/bin/bash
#chmod 755 settings.sh && sudo bash settings.sh
echo "apt get update ... "
sudo apt-get update
sudo apt-get install tree gobuster wpscan -y
gem install wpscan
wpscan --update
echo "initializing... "
echo "alias shortcut='nano ~/.bashrc'
alias simpleserver='python -m SimpleHTTPServer'
alias close='exit'
alias open='nautilus .'
alias pattern_create='/usr/share/metasploit-framework/tools/exploit/pattern_create.rb -l'
alias pattern_offset='/usr/share/metasploit-framework/tools/exploit/pattern_offset.rb -q'
alias ver='lsb_release -a'
alias wpscan='wpscan -e ap --plugins-detection aggressive --api-token api_key --url'
alias buster='gobuster dir -t 50 --wordlist /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt --url" >> ~/.bashrc
#remove api_key && get wpscan token from https://wpvulndb.com/users
echo "set-window-option -g mode-keys vi
bind u resize-pane -U 5
bind d resize-pane -D 5
bind r resize-pane -R 5
bind l resize-pane -L 5" >> ~/.tmux.conf
cd ~/Desktop
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
rm -rf get-pip.py
pip install xlrd --upgrades
echo "updating searchsploit, this might take while ctrl+c if it hangs ..."
searchsploit -u
echo "finished..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment