ezra-buckingham / terry-the-terraformer

A CLI for deploying red team infrastructure across mutliple cloud providers, all integrated with a virtual Nebula network, and full ELK integration
https://github.com/ezra-buckingham/terry-the-terraformer/wiki
MIT License
110 stars 15 forks source link

show containers in server tables for bare servers #51

Open tecknicaltom opened 1 year ago

tecknicaltom commented 1 year ago

When printing out the server table (e.g. with the show command), for bare servers with containers, print out the containers to help differentiate servers.

Before:

╒═══════════════════╤═══════════════╤
│ server_name       │ server_type   │
╞═══════════════════╪═══════════════╪
│ curbless-unodious │ bare          │ ...

After:

╒═══════════════════╤════════════════╤
│ server_name       │ server_type    │
╞═══════════════════╪════════════════╪
│ curbless-unodious │ bare (gophish) │ ...
tecknicaltom commented 1 year ago

if that's the case, would it make more sense to have the containers listed with server_type as this diff does, or pull it out into its own column?

leebaird commented 1 year ago

If the server type if is a redirector, the service should be listed as well: http, https, dns.