MCPcopy Create free account

hub / github.com/bvcyber/RedWizard / functions

Functions94 in github.com/bvcyber/RedWizard

↓ 17 callersMethodformat
(self, record)
tools/util/infra_logger.py:38
↓ 14 callersFunctionadd_server
(role, value_set, hosts_yaml)
step-2-create-inventory.py:261
↓ 10 callersFunctiontarget_server_menu
This menu lets the user pick to what server a role should be deployed
step-2-create-inventory.py:379
↓ 7 callersFunctionrequest_input
Prompt a user for input
step-1-create-configuration.py:132
↓ 6 callersFunctionrequest_data
Request user input to a select set of questions Questions have the following format: ['variable1','variable2'] The question will than
step-2-create-inventory.py:334
↓ 5 callersFunctionshow_menu
Displays a dictionary of options as a menu. Keys are presented as options, and the corresponding value is returned after choosing that op
step-2-create-inventory.py:285
↓ 3 callersFunctionadd_to_forwards
Add port forwards to the host variables
tools/create-ssh-config.py:42
↓ 3 callersFunctionrandom_secret
Generate a random string with x length
step-1-create-configuration.py:120
↓ 2 callersFunctionextract
(data, new_config, input_path=None, file_data={})
roles/backend-dropbox/files/python3-convert-visc-to-ovpn.py:112
↓ 2 callersFunctionextract
(data, new_config, input_path=None, file_data={})
roles/relay-common/files/python3-convert-visc-to-ovpn.py:112
↓ 2 callersFunctiongather_component
Gather components from the configuration
tools/diagram.py:26
↓ 2 callersFunctionget_ip_address
Get ip address of an ansible host
tools/create-ssh-config.py:33
↓ 2 callersFunctionget_jinja_env
Get the default jinja environment
tools/util/jinja_templating.py:8
↓ 2 callersFunctionget_server_nr
(server_type, hosts_yaml)
step-2-create-inventory.py:151
↓ 2 callersFunctionparse_yaml
Safely parse the YAML file from disk
tools/create-ssh-config.py:92
↓ 2 callersFunctionparse_yaml
Safely load ad YAML file from disk
tools/check-prerequisites.py:32
↓ 2 callersFunctionprint_role_info
Simple print to show the role and host relation
step-2-create-inventory.py:227
↓ 1 callersFunctionadd_cobaltstrike_menu
Menu to request information about a cobaltstrike campaign
step-2-create-inventory.py:505
↓ 1 callersFunctionadd_dropbox_menu
Menu to request information about a phishing campaign
step-2-create-inventory.py:422
↓ 1 callersFunctionadd_malleable_profile_menu
Menu to show what profile should be deployed
step-2-create-inventory.py:497
↓ 1 callersFunctionadd_osint_menu
Menu to request information about a phishing campaign
step-2-create-inventory.py:455
↓ 1 callersFunctionadd_phish_menu
Menu to request information about a phishing campaign
step-2-create-inventory.py:636
↓ 1 callersFunctionadd_server_menu
Menu to show what base servers should be deployed
step-2-create-inventory.py:402
↓ 1 callersFunctionadd_users_to_deployment
Verify and select a list of users with access to this infrastructure deployment
step-1-create-configuration.py:297
↓ 1 callersFunctionadd_webcatcher_menu
Menu to request information about a phishing campaign
step-2-create-inventory.py:589
↓ 1 callersFunctionansible_keygen
Create default accounts and deploy vault
step-1-create-configuration.py:379
↓ 1 callersFunctioncheck_if_role_deployed
Checks if a role is already deployed to a server
step-2-create-inventory.py:360
↓ 1 callersFunctionconvert
Converts Viscosity package Args: input (str): path to folder or file input output (str): path to folder output [default: None]
roles/backend-dropbox/files/python3-convert-visc-to-ovpn.py:45
↓ 1 callersFunctionconvert
Converts Viscosity package Args: input (str): path to folder or file input output (str): path to folder output [default: None]
roles/relay-common/files/python3-convert-visc-to-ovpn.py:45
↓ 1 callersFunctioncreate_backend_infra
Create group clusters for backend infrastructure
tools/diagram.py:232
↓ 1 callersFunctioncreate_backend_roles
Create a list of diagram edges based on containers
tools/diagram.py:210
↓ 1 callersFunctioncreate_configuration_directory
Create a new configuration directory
step-1-create-configuration.py:163
↓ 1 callersFunctioncreate_configuration_template
Sets all the neccesary variables to print the jinja2 template
step-1-create-configuration.py:57
↓ 1 callersFunctioncreate_diagram
Create the infrastructure diagram
tools/diagram.py:394
↓ 1 callersFunctioncreate_host_string
Create YAML configuration from a Jinja2 template
tools/create-ssh-config.py:99
↓ 1 callersFunctioncreate_hosts_template
Sets all the neccesary variables to print the jinja2 template
step-2-create-inventory.py:121
↓ 1 callersFunctioncreate_relay_infra
Create the objects for the relay infrastrucrue
tools/diagram.py:360
↓ 1 callersFunctioncreate_relay_roles
Create edges for the relay roles
tools/diagram.py:338
↓ 1 callersFunctioncreate_ssh_config
Create and print the SSH configuration
tools/create-ssh-config.py:111
↓ 1 callersFunctiondo_interactive_edit
Interactive dictionary editor
step-1-create-configuration.py:228
↓ 1 callersFunctiongather_deployed_backend_components
Gather a list of different backend components
tools/diagram.py:39
↓ 1 callersFunctiongather_deployed_relay_components
Gather a list of deployed relay components
tools/diagram.py:57
↓ 1 callersFunctionget_all_names
(hosts_yaml)
step-2-create-inventory.py:144
↓ 1 callersFunctionget_hosts
Get host information from the ansible configuration
tools/create-ssh-config.py:52
↓ 1 callersFunctionget_malleable_profiles
()
step-2-create-inventory.py:490
↓ 1 callersFunctionget_phishing_campaigns
Gather a list of deployed phishing campaigns
tools/diagram.py:74
↓ 1 callersFunctionget_portforward
Create port forwarding variables based on the ansible configuration
tools/create-ssh-config.py:22
↓ 1 callersFunctioninitial_menu
The main menu
step-2-create-inventory.py:699
↓ 1 callersFunctionlink_backend_to_relays
Link the backend servers to the relay servers
tools/diagram.py:381
↓ 1 callersFunctionmain
Main function
step-2-create-inventory.py:752
↓ 1 callersFunctionmain
The main function for configuration deployment
step-1-create-configuration.py:569
↓ 1 callersFunctionmain
Main function
tools/diagram.py:411
↓ 1 callersFunctionmain
Parse and process the hosts
tools/create-ssh-config.py:119
↓ 1 callersFunctionmain
Start the playbook parsing
tools/list-tags.py:59
↓ 1 callersFunctionmain
Start of the prerequisites check
tools/check-prerequisites.py:113
↓ 1 callersFunctionopen_globals
Opens and extracts information from the global configuration file
step-1-create-configuration.py:69
↓ 1 callersFunctionparse_options
()
step-1-create-configuration.py:493
↓ 1 callersFunctionparse_plays
Parse the entries from the playbook file
tools/list-tags.py:45
↓ 1 callersFunctionparse_yaml
Simple function to read in a file as yaml
step-2-create-inventory.py:135
↓ 1 callersFunctionparse_yaml
Simple function to read in a file as yaml
tools/diagram.py:20
↓ 1 callersFunctionparse_yaml
Find the playbook and safely load the YAML
tools/list-tags.py:19
↓ 1 callersFunctionprepare_users
Create user account options if not set
step-1-create-configuration.py:270
↓ 1 callersFunctionpretty_print
Pretty prints a dictionary into predefined yaml format
step-2-create-inventory.py:218
↓ 1 callersFunctionpretty_print
Pretty prints a dictionary into predefined yaml format
step-1-create-configuration.py:49
↓ 1 callersFunctionprint_ascii_art
()
step-2-create-inventory.py:740
↓ 1 callersFunctionprint_ascii_art
()
step-1-create-configuration.py:557
↓ 1 callersFunctionprint_basic_prerequisites
Print the basic requirements
tools/check-prerequisites.py:51
↓ 1 callersFunctionprint_c2_prerequisites
Print requirements for the C2
tools/check-prerequisites.py:66
↓ 1 callersFunctionprint_deployment_node_prerequisite
Print some important node requirements
tools/check-prerequisites.py:40
↓ 1 callersFunctionprint_nginx_prerequisites
Print requirements for an Nginx host
tools/check-prerequisites.py:84
↓ 1 callersFunctionprint_phishing_prerequisites
Print requirements for a GoPhish host
tools/check-prerequisites.py:99
↓ 1 callersFunctionprint_server_roles
Prints all deployed roles to a server
step-2-create-inventory.py:231
↓ 1 callersFunctionprint_tags
Print and colorize tags
tools/list-tags.py:35
↓ 1 callersFunctionrequest_email_entries_certbot
Ask a user to input a valid email address
step-1-create-configuration.py:210
↓ 1 callersFunctionrequest_email_entries_phishing
Ask a user to input a valid email address
step-1-create-configuration.py:192
↓ 1 callersFunctionrequest_secret_strings
()
step-2-create-inventory.py:316
↓ 1 callersFunctionrole_backends_cobalt_strike
Gather a list of deployed cobalt strike instances
tools/diagram.py:111
↓ 1 callersFunctionrole_backends_dropbox
Gather a list of deployed dropboxes
tools/diagram.py:89
↓ 1 callersFunctionrole_backends_osint
Gather a list of deployed OSINT backends
tools/diagram.py:156
↓ 1 callersFunctionrole_backends_phish
Gather a list of GoPhish backends
tools/diagram.py:177
↓ 1 callersFunctionrole_backends_web_catcher
Gather a list of deployed web catchers
tools/diagram.py:134
↓ 1 callersFunctionrole_relays_dropbox
Create a list of deployed dropbox relays
tools/diagram.py:253
↓ 1 callersFunctionrole_relays_nginx
Create a list of deployed Nginx relays
tools/diagram.py:273
↓ 1 callersFunctionrole_relays_osint
Create a list of OSINT relays
tools/diagram.py:318
↓ 1 callersFunctionrole_relays_phish
Create a list of phishing relays
tools/diagram.py:297
↓ 1 callersFunctionrun_globals
Verify existing parameters and apply some changes
step-1-create-configuration.py:326
↓ 1 callersFunctionset_logging
(options)
step-1-create-configuration.py:485
↓ 1 callersFunctionshow_inventory
Simply gives the full inventory as a dumped yaml string
step-2-create-inventory.py:252
↓ 1 callersFunctionssh_keygen
Create a new SSH key for a user and return public key
step-1-create-configuration.py:436
↓ 1 callersFunctionvalidate_input
(input_field, value, hosts_yaml)
step-2-create-inventory.py:160
↓ 1 callersFunctionvalidate_net
Validate an input IP address or range
step-1-create-configuration.py:98
↓ 1 callersFunctionwrite_template
Writes the completed template to the designated outfile
step-2-create-inventory.py:104
↓ 1 callersFunctionwrite_template
Writes the completed template to the designated outfile
step-1-create-configuration.py:35
Functioninitiate_logger
Initiates the logger. This should be called by the submodule
tools/util/infra_logger.py:44