Files
SecDep/assets/pages/demo/demo.md
2023-09-03 17:34:16 +03:00

1.8 KiB

Examples and output

Actual outputs are more polished than the ones shown here (e.g. colors, better formatting, etc.)

One example of the modern output is shown bellow:

Modern Output

Instance listing 🪧

python3 secdep.py -l

(sped up animation)

Listing

Instance listing when there is a gce node

python3 secdep.py -l -P gce

Listing gce

Instance listing with 5 aws nodes

Listing 2

Instance listing with aws and gce nodes

Listing 3

Instance deletion 👋

python3 secdep.py -a delete

Deletion

Instance deletion of all gce nodes 💣

python3 secdep.py -P gce -a deleteall

Deletion 2

Instance creation for gce 🎉

python3 secdep.py -P gce -c -n test-node -g us-central1-a -s f1-micro -i debian-10-buster-v20230306 -y

Creation

Instance ssh connection 🔗

python3 secdep.py -P gce --ssh

Deletion 2

You can also specify a port with the --port flag.

Instance creation and hardening for aws

python3 secdep.py -P aws -c -n test-node -s t3.micro -i ami-08869bacfa1188ec9 --yes --deploy

Instance creation and hardening for aws while deploying a docker-compose file and pulling nginx docker image

python3 secdep.py -P aws -c -n test-node -s t3.micro -i ami-08869bacfa1188ec9 --yes --docker_compose --deploy nginx

Note: The docker-compose.yml file has to be in the same directory as the script and be named as docker-compose.yml