Initial commit for Kali install script

main
byt3bl33d3r 2016-04-16 15:50:21 -06:00
parent 0bb288e7a0
commit b155649619
1 changed files with 21 additions and 0 deletions

21
setup/kali_install.sh Normal file
View File

@ -0,0 +1,21 @@
#! /bin/bash
echo -e '\n [*] Installing core deps\n'
apt-get install libssl-dev libffi-dev python-dev virtualenvwrapper
echo -e '\n [*] Intializing and updating submodules\n'
git submodule init
git submodule update --recursive
echo -e '\n [*] Setting up virtualenvwrapper and creating the CME virtualenv\n'
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
echo 'source /usr/share/virtualenvwrapper/virtualenvwrapper.sh' >> ~/.bashrc
mkvirtualenv CME
workon CME
echo 'CME' > ../.venv
echo -e '\n [*] Installing python deps\n'
pip install -r ../requirements.txt
echo -e '\n [*] Creating the database\n'
python setup_database.py