Print the basic requirements
(systems, ansible_user)
| 49 | |
| 50 | |
| 51 | def print_basic_prerequisites(systems, ansible_user): |
| 52 | """ |
| 53 | Print the basic requirements |
| 54 | """ |
| 55 | print(BColors.OKCYAN + "\nBasic Requirements:" + BColors.ENDC) |
| 56 | print("- Running Ubuntu 20.04") |
| 57 | print("- You have connected via SSH with the user " + ansible_user + " (so no more host verification etc)") |
| 58 | print("- The SSH key for the account is unlocked") |
| 59 | print("This concerns the following systems:") |
| 60 | for host in systems[BACKEND_NAME]["hosts"]: |
| 61 | print(BColors.WARNING + "- ssh " + ansible_user + "@" + systems[BACKEND_NAME]["hosts"][host]["ansible_host"] + BColors.ENDC) |
| 62 | for host in systems[RELAY_NAME]["hosts"]: |
| 63 | print(BColors.WARNING + "- ssh " + ansible_user + "@" + systems[RELAY_NAME]["hosts"][host]["ansible_host"] + BColors.ENDC) |
| 64 | |
| 65 | |
| 66 | def print_c2_prerequisites(systems, c2_address_space): |