MCPcopy Create free account
hub / github.com/bvcyber/RedWizard / print_basic_prerequisites

Function print_basic_prerequisites

tools/check-prerequisites.py:51–63  ·  view source on GitHub ↗

Print the basic requirements

(systems, ansible_user)

Source from the content-addressed store, hash-verified

49
50
51def 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
66def print_c2_prerequisites(systems, c2_address_space):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected