Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
System Setup
# Install Python PIP and Dependencies
sudo apt-get install python3-dev python3-pip python3-setuptools libyaml-dev wget libreadline7 libreadline-dev git python-dnspython python-mechanize python-slowaes python-xlsxwriter python-jsonrpclib python-lxml lsb-release figlet update-motd libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev -y
# Setup and configure Dynamic MOTD
# Remove the current directory
sudo rm -r /etc/update-motd.d/
# Create new directory
sudo mkdir /etc/update-motd.d/
# Download 00-header, 10-sysinfo, 90-footer and change permissions
cd /etc/update-motd.d/
sudo wget https://gist.githubusercontent.com/ashbyca/9ce85acbcb17e5ecd6055e9c88837158/raw/a0d9dcfd5ff4283ab8cdcdbeedb24796dfd4946b/00-header
sudo wget https://gist.githubusercontent.com/ashbyca/582cf06398ceeb651548bef1743605b8/raw/6785d9f3c08105959c69d285560dc76076ae649e/10-sysinfo
sudo wget https://gist.githubusercontent.com/ashbyca/a7bd031c7efdd9c9c5fe53f9a5dc49ae/raw/20be9196dfd3fbceac2e074d6b3dd0956892ac6f/90-footer
sudo chmod +x /etc/update-motd.d/*
# remove MOTD file
rm /etc/motd.dynamic
# Install Misc Tools
sudo easy_install readline
# Install wig-webapp
cd /opt/
sudo git clone https://github.com/jekyc/wig.git
cd /opt/wig
python3 setup.py installwigf
# Install Machinae
sudo pip3 install git+https://github.com/HurricaneLabs/machinae.git
wget https://github.com/HurricaneLabs/machinae/raw/master/machinae.yml && mv machinae.yml /etc/
--> Need to figure our easy_install on ubuntu 18.04
# Install Shodan CLI
sudo easy_install --upgrade pip && sudo easy_install shodan
# Install
# Install recon-ng
cd /opt/
sudo git clone https://LaNMaSteR53@bitbucket.org/LaNMaSteR53/recon-ng.git
cd /opt/recon-ng
sudo pip install -r REQUIREMENTS
# Install getsploit
sudo pip install getsploit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.