Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bvcyber/RedWizard
/ functions
Functions
94 in github.com/bvcyber/RedWizard
⨍
Functions
94
◇
Types & classes
11
↳
Endpoints
2
↓ 17 callers
Method
format
(self, record)
tools/util/infra_logger.py:38
↓ 14 callers
Function
add_server
(role, value_set, hosts_yaml)
step-2-create-inventory.py:261
↓ 10 callers
Function
target_server_menu
This menu lets the user pick to what server a role should be deployed
step-2-create-inventory.py:379
↓ 7 callers
Function
request_input
Prompt a user for input
step-1-create-configuration.py:132
↓ 6 callers
Function
request_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 callers
Function
show_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 callers
Function
add_to_forwards
Add port forwards to the host variables
tools/create-ssh-config.py:42
↓ 3 callers
Function
random_secret
Generate a random string with x length
step-1-create-configuration.py:120
↓ 2 callers
Function
extract
(data, new_config, input_path=None, file_data={})
roles/backend-dropbox/files/python3-convert-visc-to-ovpn.py:112
↓ 2 callers
Function
extract
(data, new_config, input_path=None, file_data={})
roles/relay-common/files/python3-convert-visc-to-ovpn.py:112
↓ 2 callers
Function
gather_component
Gather components from the configuration
tools/diagram.py:26
↓ 2 callers
Function
get_ip_address
Get ip address of an ansible host
tools/create-ssh-config.py:33
↓ 2 callers
Function
get_jinja_env
Get the default jinja environment
tools/util/jinja_templating.py:8
↓ 2 callers
Function
get_server_nr
(server_type, hosts_yaml)
step-2-create-inventory.py:151
↓ 2 callers
Function
parse_yaml
Safely parse the YAML file from disk
tools/create-ssh-config.py:92
↓ 2 callers
Function
parse_yaml
Safely load ad YAML file from disk
tools/check-prerequisites.py:32
↓ 2 callers
Function
print_role_info
Simple print to show the role and host relation
step-2-create-inventory.py:227
↓ 1 callers
Function
add_cobaltstrike_menu
Menu to request information about a cobaltstrike campaign
step-2-create-inventory.py:505
↓ 1 callers
Function
add_dropbox_menu
Menu to request information about a phishing campaign
step-2-create-inventory.py:422
↓ 1 callers
Function
add_malleable_profile_menu
Menu to show what profile should be deployed
step-2-create-inventory.py:497
↓ 1 callers
Function
add_osint_menu
Menu to request information about a phishing campaign
step-2-create-inventory.py:455
↓ 1 callers
Function
add_phish_menu
Menu to request information about a phishing campaign
step-2-create-inventory.py:636
↓ 1 callers
Function
add_server_menu
Menu to show what base servers should be deployed
step-2-create-inventory.py:402
↓ 1 callers
Function
add_users_to_deployment
Verify and select a list of users with access to this infrastructure deployment
step-1-create-configuration.py:297
↓ 1 callers
Function
add_webcatcher_menu
Menu to request information about a phishing campaign
step-2-create-inventory.py:589
↓ 1 callers
Function
ansible_keygen
Create default accounts and deploy vault
step-1-create-configuration.py:379
↓ 1 callers
Function
check_if_role_deployed
Checks if a role is already deployed to a server
step-2-create-inventory.py:360
↓ 1 callers
Function
convert
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 callers
Function
convert
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 callers
Function
create_backend_infra
Create group clusters for backend infrastructure
tools/diagram.py:232
↓ 1 callers
Function
create_backend_roles
Create a list of diagram edges based on containers
tools/diagram.py:210
↓ 1 callers
Function
create_configuration_directory
Create a new configuration directory
step-1-create-configuration.py:163
↓ 1 callers
Function
create_configuration_template
Sets all the neccesary variables to print the jinja2 template
step-1-create-configuration.py:57
↓ 1 callers
Function
create_diagram
Create the infrastructure diagram
tools/diagram.py:394
↓ 1 callers
Function
create_host_string
Create YAML configuration from a Jinja2 template
tools/create-ssh-config.py:99
↓ 1 callers
Function
create_hosts_template
Sets all the neccesary variables to print the jinja2 template
step-2-create-inventory.py:121
↓ 1 callers
Function
create_relay_infra
Create the objects for the relay infrastrucrue
tools/diagram.py:360
↓ 1 callers
Function
create_relay_roles
Create edges for the relay roles
tools/diagram.py:338
↓ 1 callers
Function
create_ssh_config
Create and print the SSH configuration
tools/create-ssh-config.py:111
↓ 1 callers
Function
do_interactive_edit
Interactive dictionary editor
step-1-create-configuration.py:228
↓ 1 callers
Function
gather_deployed_backend_components
Gather a list of different backend components
tools/diagram.py:39
↓ 1 callers
Function
gather_deployed_relay_components
Gather a list of deployed relay components
tools/diagram.py:57
↓ 1 callers
Function
get_all_names
(hosts_yaml)
step-2-create-inventory.py:144
↓ 1 callers
Function
get_hosts
Get host information from the ansible configuration
tools/create-ssh-config.py:52
↓ 1 callers
Function
get_malleable_profiles
()
step-2-create-inventory.py:490
↓ 1 callers
Function
get_phishing_campaigns
Gather a list of deployed phishing campaigns
tools/diagram.py:74
↓ 1 callers
Function
get_portforward
Create port forwarding variables based on the ansible configuration
tools/create-ssh-config.py:22
↓ 1 callers
Function
initial_menu
The main menu
step-2-create-inventory.py:699
↓ 1 callers
Function
link_backend_to_relays
Link the backend servers to the relay servers
tools/diagram.py:381
↓ 1 callers
Function
main
Main function
step-2-create-inventory.py:752
↓ 1 callers
Function
main
The main function for configuration deployment
step-1-create-configuration.py:569
↓ 1 callers
Function
main
Main function
tools/diagram.py:411
↓ 1 callers
Function
main
Parse and process the hosts
tools/create-ssh-config.py:119
↓ 1 callers
Function
main
Start the playbook parsing
tools/list-tags.py:59
↓ 1 callers
Function
main
Start of the prerequisites check
tools/check-prerequisites.py:113
↓ 1 callers
Function
open_globals
Opens and extracts information from the global configuration file
step-1-create-configuration.py:69
↓ 1 callers
Function
parse_options
()
step-1-create-configuration.py:493
↓ 1 callers
Function
parse_plays
Parse the entries from the playbook file
tools/list-tags.py:45
↓ 1 callers
Function
parse_yaml
Simple function to read in a file as yaml
step-2-create-inventory.py:135
↓ 1 callers
Function
parse_yaml
Simple function to read in a file as yaml
tools/diagram.py:20
↓ 1 callers
Function
parse_yaml
Find the playbook and safely load the YAML
tools/list-tags.py:19
↓ 1 callers
Function
prepare_users
Create user account options if not set
step-1-create-configuration.py:270
↓ 1 callers
Function
pretty_print
Pretty prints a dictionary into predefined yaml format
step-2-create-inventory.py:218
↓ 1 callers
Function
pretty_print
Pretty prints a dictionary into predefined yaml format
step-1-create-configuration.py:49
↓ 1 callers
Function
print_ascii_art
()
step-2-create-inventory.py:740
↓ 1 callers
Function
print_ascii_art
()
step-1-create-configuration.py:557
↓ 1 callers
Function
print_basic_prerequisites
Print the basic requirements
tools/check-prerequisites.py:51
↓ 1 callers
Function
print_c2_prerequisites
Print requirements for the C2
tools/check-prerequisites.py:66
↓ 1 callers
Function
print_deployment_node_prerequisite
Print some important node requirements
tools/check-prerequisites.py:40
↓ 1 callers
Function
print_nginx_prerequisites
Print requirements for an Nginx host
tools/check-prerequisites.py:84
↓ 1 callers
Function
print_phishing_prerequisites
Print requirements for a GoPhish host
tools/check-prerequisites.py:99
↓ 1 callers
Function
print_server_roles
Prints all deployed roles to a server
step-2-create-inventory.py:231
↓ 1 callers
Function
print_tags
Print and colorize tags
tools/list-tags.py:35
↓ 1 callers
Function
request_email_entries_certbot
Ask a user to input a valid email address
step-1-create-configuration.py:210
↓ 1 callers
Function
request_email_entries_phishing
Ask a user to input a valid email address
step-1-create-configuration.py:192
↓ 1 callers
Function
request_secret_strings
()
step-2-create-inventory.py:316
↓ 1 callers
Function
role_backends_cobalt_strike
Gather a list of deployed cobalt strike instances
tools/diagram.py:111
↓ 1 callers
Function
role_backends_dropbox
Gather a list of deployed dropboxes
tools/diagram.py:89
↓ 1 callers
Function
role_backends_osint
Gather a list of deployed OSINT backends
tools/diagram.py:156
↓ 1 callers
Function
role_backends_phish
Gather a list of GoPhish backends
tools/diagram.py:177
↓ 1 callers
Function
role_backends_web_catcher
Gather a list of deployed web catchers
tools/diagram.py:134
↓ 1 callers
Function
role_relays_dropbox
Create a list of deployed dropbox relays
tools/diagram.py:253
↓ 1 callers
Function
role_relays_nginx
Create a list of deployed Nginx relays
tools/diagram.py:273
↓ 1 callers
Function
role_relays_osint
Create a list of OSINT relays
tools/diagram.py:318
↓ 1 callers
Function
role_relays_phish
Create a list of phishing relays
tools/diagram.py:297
↓ 1 callers
Function
run_globals
Verify existing parameters and apply some changes
step-1-create-configuration.py:326
↓ 1 callers
Function
set_logging
(options)
step-1-create-configuration.py:485
↓ 1 callers
Function
show_inventory
Simply gives the full inventory as a dumped yaml string
step-2-create-inventory.py:252
↓ 1 callers
Function
ssh_keygen
Create a new SSH key for a user and return public key
step-1-create-configuration.py:436
↓ 1 callers
Function
validate_input
(input_field, value, hosts_yaml)
step-2-create-inventory.py:160
↓ 1 callers
Function
validate_net
Validate an input IP address or range
step-1-create-configuration.py:98
↓ 1 callers
Function
write_template
Writes the completed template to the designated outfile
step-2-create-inventory.py:104
↓ 1 callers
Function
write_template
Writes the completed template to the designated outfile
step-1-create-configuration.py:35
Function
initiate_logger
Initiates the logger. This should be called by the submodule
tools/util/infra_logger.py:44