Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/depthsecurity/RelayKing-Depth
/ functions
Functions
175 in github.com/depthsecurity/RelayKing-Depth
⨍
Functions
175
◇
Types & classes
51
↓ 1 callers
Method
get_port_scan_results
Load port scan results. Converts lists back to sets.
core/session.py:131
↓ 1 callers
Method
get_targets
(self)
core/session.py:101
↓ 1 callers
Method
get_tier0_assets
(self)
core/session.py:110
↓ 1 callers
Method
is_dc
Check if a target is a Domain Controller. Args: target: hostname or IP of the target Returns: True
core/config.py:120
↓ 1 callers
Method
load
Load an existing session from disk.
core/session.py:71
↓ 1 callers
Function
main
Run all verification checks
verify_installation.py:105
↓ 1 callers
Function
main
Main function
relayking.py:97
↓ 1 callers
Method
mark_group_complete
(self, group_idx: int)
core/session.py:169
↓ 1 callers
Method
mark_host_complete
Record a host as fully scanned, storing its serialized results. Thread-safe. Marks session dirty for periodic flush.
core/session.py:140
↓ 1 callers
Function
output_result
(results, loop_count, group_size, split_into, idxlen, config, append=False)
relayking.py:297
↓ 1 callers
Function
parse_arguments
Parse command-line arguments
core/config.py:149
↓ 1 callers
Method
parse_targets
Parse all target sources and return unique list
core/target_parser.py:67
↓ 1 callers
Method
prepare
Prepare for scan - check credential - prepare target list (or load from session) Returns: dict w
core/scanner.py:79
↓ 1 callers
Function
print_banner
Print the RelayKing ASCII banner
core/banner.py:12
↓ 1 callers
Method
save_if_needed
Save only if data has changed and enough time has elapsed.
core/session.py:65
↓ 1 callers
Method
scan
Run the scan Returns: dict with all results, analysis, and statistics
core/scanner.py:163
↓ 1 callers
Method
set_output_config
(self, output_file, output_formats, gen_relay_list)
core/session.py:181
↓ 1 callers
Method
set_targets
(self, targets: List[str])
core/session.py:97
↓ 1 callers
Method
set_tier0_assets
(self, assets)
core/session.py:106
Method
__init__
(self, config)
core/creds_checker.py:15
Method
__init__
(self, config)
core/target_parser.py:62
Method
__init__
(self, config, session=None)
core/scanner.py:68
Method
__init__
(self, session_file: str = None)
core/session.py:31
Method
__init__
(self, config, tier0_assets: set = None)
core/relay_analyzer.py:49
Method
__init__
Initialize scanner Args: timeout: Socket timeout in seconds (default 0.1 = 100ms)
core/port_scanner.py:32
Method
__init__
Initialize Tier0Detector Args: ldap_connection: Active LDAP connection object domain: Domain name (for build
detectors/tier0_detector.py:13
Method
__init__
(self, config)
detectors/ghost_spn.py:32
Method
__init__
(self, config)
detectors/ntlm_reflection.py:53
Method
__init__
(self, config)
detectors/adcs_detector.py:13
Method
__init__
(self, config)
detectors/coercion.py:18
Method
__init__
(self, config)
detectors/ntlmv1_detector.py:26
Method
__init__
(self, config)
detectors/webdav_detector.py:14
Method
__init__
Create an authentication handler with optional custom certificate hash. :param str username: Username in 'domain\\username' format :p
protocols/http_detector.py:30
Method
__init__
(self, config)
protocols/base_detector.py:123
Method
__post_init__
(self)
core/config.py:69
Method
__post_init__
Initialize empty lists for IPs if not provided
core/relay_analyzer.py:32
Method
_check_ntlmv1
Check if NTLMv1 is supported This requires attempting an NTLMv1 authentication
protocols/smb_detector.py:200
Method
_get_base_dn
Convert domain to base DN
core/creds_checker.py:88
Method
_get_server_cert
Override to return custom certificate hash if provided, otherwise use parent implementation.
protocols/http_detector.py:47
Method
_get_ubr_from_registry
Get UBR (Update Build Revision) from remote registry Returns UBR as int or None Uses semaphore to limit concurrent DCE/RPC c
detectors/ntlm_reflection.py:255
Method
_on_computer
(item)
core/target_parser.py:344
Method
_on_spn
(item)
detectors/ghost_spn.py:264
Method
_query_endpoints
Query RPC endpoint mapper for available endpoints
protocols/rpc_detector.py:156
Method
_scan_target
Scan a single target for all specified protocols
core/scanner.py:555
Function
check_dependencies
Check required Python packages
verify_installation.py:20
Method
check_host_registry
Check a specific host's registry for NTLMv1 support Returns dict with: - enabled: bool (True if NTLMv1 is supported)
detectors/ntlmv1_detector.py:128
Function
check_modules
Check RelayKing modules can be imported
verify_installation.py:45
Function
check_python_version
Check Python version is 3.8+
verify_installation.py:10
Function
check_syntax
Check syntax of all Python files
verify_installation.py:78
Method
detect
Detect coercion vulnerabilities by actually attempting exploits Only reports vulnerable if exploit succeeds (gets callback)
detectors/coercion.py:22
Method
detect
Detect HTTPS configuration
protocols/http_detector.py:384
Method
detect
Detect IMAP configuration
protocols/additional_detectors.py:57
Method
detect
Detect WINRM configuration
protocols/additional_detectors.py:108
Method
detect
Detect IMAPS configuration
protocols/additional_detectors.py:164
Method
detect
Detect WINRMS configuration
protocols/additional_detectors.py:172
Method
detect
Detect protocol configuration on target host Args: host: Target hostname or IP Returns: ProtocolRes
protocols/base_detector.py:127
Method
detect
Detect LDAPS configuration
protocols/ldap_detector.py:261
Method
detect
Detect SMB configuration
protocols/smb_detector.py:15
Method
detect
Detect MSSQL configuration
protocols/mssql_detector.py:16
Method
detect_via_http
Detect ADCS by checking /certsrv/ endpoint on HTTP and HTTPS ADCS should return 401 Unauthorized
detectors/adcs_detector.py:17
Method
enumerate_adcs_via_ldap
Enumerate ADCS servers from LDAP Search under CN=Public Key Services,CN=Services,CN=Configuration,DC=domain,DC=local
detectors/adcs_detector.py:71
Method
format
Format results in specified format Args: results: Scan results dict output_format: Format name (plaintext, j
output/formatters.py:18
Method
format
Format results as plaintext
output/formatters.py:46
Method
format
Format results as JSON
output/formatters.py:255
Method
format
Format results as CSV
output/formatters.py:378
Method
format
Format results as grep-able output
output/formatters.py:425
Method
format
Format results as Markdown
output/formatters.py:475
Method
format_results
Format coercion results for display
detectors/coercion.py:194
Method
ping_host
Ping a single host
core/target_parser.py:549
Method
protocol_sort_key
(protocol)
core/relay_analyzer.py:138
Method
resolve_host
Try to resolve a single hostname with timeout
core/target_parser.py:587
Method
resolve_one
(hostname: str)
detectors/ghost_spn.py:331
Method
scan_host
Fast scan multiple ports on a single host Args: host: Target hostname or IP ports: List of ports to scan
core/port_scanner.py:41
Method
set_dc_hostnames
(self, hostnames)
core/session.py:115
Method
should_scan_protocol
Check if a protocol should be scanned based on open ports Args: protocol: Protocol name open_ports: Set of o
core/port_scanner.py:145
← previous
101–175 of 175, ranked by callers