mirror of https://github.com/avast/PurpleDome
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
431 B
Bash
25 lines
431 B
Bash
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
# Bootstrap the new VM
|
||
|
#
|
||
|
#
|
||
|
|
||
|
echo "Bootstrapping attacker1"
|
||
|
|
||
|
# Update system
|
||
|
apt update
|
||
|
cd ~
|
||
|
wget https://bootstrap.pypa.io/get-pip.py
|
||
|
python3 get-pip.py
|
||
|
apt -y install golang sphinx-common
|
||
|
#apt -y upgrade
|
||
|
|
||
|
#apt -y install apt-transport-https
|
||
|
#apt -y install openssh-server
|
||
|
#apt -y install whois # for mkpasswd
|
||
|
|
||
|
ip addr show eth1 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1 > /vagrant/attacker1/ip4.txt
|
||
|
|
||
|
# reboot
|