Skip to content

Instantly share code, notes, and snippets.

@anir0y
Last active July 2, 2021 19:57
Show Gist options
  • Save anir0y/5ca6b6356f769d80e0ff12221b3b259b to your computer and use it in GitHub Desktop.
Save anir0y/5ca6b6356f769d80e0ff12221b3b259b to your computer and use it in GitHub Desktop.
#!/bin/bash
#setup dir
cd ~/
#phase-1
echo "Setting up pip2"
mkdir scripts && cd scripts
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
echo "Enter Sudo password is asked"
sleep 2
sudo python2 get-pip.py
pip2 install --upgrade setuptools
sudo apt-get install python-dev -y
#Phase-2
clear
echo "PIP installs"
pip2 install pycrypto
pip2 install distorm3
#phase-3
clear
echo "Vol download & config"
git clone https://github.com/volatilityfoundation/volatility
cd volatility
sudo python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment