- Digital Ocean api token
- Firewalled Client with SSH, python2/3, and wget
- Remote Client with python3
-
Create Key
cd keys/ && ssh-keygen
Enter file in which to save the key (/root/.ssh/id_rsa): digitalOceanKey
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in digitalOceanKey.
Your public key has been saved in digitalOceanKey.pub.
-
Fill in Config
Add your Digital Ocean token to config.py using a text editor.
-
Install requirements
pip install -r requirements.txt
-
Run createMaster.py
python3 createMaster.py
-
Inject python file into slave computer
Slave computer needs to execute the payload generated from createMaster.py. Either python version will work for this step.
python3 payload.py
orpython payload.py
-
Connect to Tunnelled Client
ssh <user>@<master-ip> -p 10022