Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xenov-X/csbot
/ functions
Functions
202 in github.com/Xenov-X/csbot
⨍
Functions
202
◇
Types & classes
19
↓ 77 callers
Method
waitForOutput
waitForOutput waits for task output
workflow/executor.go:869
↓ 41 callers
Method
fireAndForget
fireAndForget is used for commands known to never produce output from the beacon. The API accepted the command and returned a task ID, so we just retu
workflow/executor.go:863
↓ 31 callers
Method
logInfo
logInfo logs an info message
workflow/executor.go:81
↓ 23 callers
Method
Info
Info logs an info message
logger/logger.go:131
↓ 22 callers
Method
logDebug
logDebug logs a debug message
workflow/executor.go:99
↓ 15 callers
Method
Error
Error logs an error message
logger/logger.go:141
↓ 11 callers
Method
String
()
workflow/validator.go:1262
↓ 9 callers
Method
executeAddListener
executeAddListener is a generic handler for all add_*_listener action types. It passes the entire parameters map to the corresponding csrest method.
workflow/executor_server.go:62
↓ 9 callers
Method
executeUpdateListener
executeUpdateListener is a generic handler for all update_*_listener action types.
workflow/executor_server.go:105
↓ 6 callers
Function
truncate
truncate truncates a string to a maximum length
selector/beacon_selector.go:283
↓ 5 callers
Method
log
log writes a log message at the specified level
logger/logger.go:88
↓ 4 callers
Method
checkAllOf
checkAllOf checks if all conditions are true (AND logic)
workflow/executor.go:943
↓ 4 callers
Method
logError
logError logs an error message
workflow/executor.go:90
↓ 3 callers
Method
executeActions
executeActions executes a list of actions
workflow/executor.go:214
↓ 3 callers
Method
recordResult
recordResult records an action result
workflow/executor.go:74
↓ 3 callers
Method
validateCondition
validateCondition validates a condition
workflow/validator.go:1168
↓ 2 callers
Function
NewFormatter
NewFormatter creates a new output formatter
output/formatter.go:53
↓ 2 callers
Function
PackBOFArguments
PackBOFArguments packs typed arguments into binary format for BOF execution Format verified against Cobalt Strike 4.x bof_pack() implementation Key f
workflow/bof_packer.go:31
↓ 2 callers
Method
Warn
Warn logs a warning message
logger/logger.go:136
↓ 2 callers
Function
WorkflowRequiresBeacon
WorkflowRequiresBeacon checks if any action in the workflow requires a beacon.
workflow/action_categories.go:60
↓ 2 callers
Method
checkAnyOf
checkAnyOf checks if at least one condition is true (OR logic)
workflow/executor.go:924
↓ 2 callers
Method
evaluateActionConditions
evaluateActionConditions evaluates all condition groups for an action
workflow/executor.go:899
↓ 2 callers
Method
evaluateCondition
evaluateCondition evaluates a single condition (supports nested any_of/all_of)
workflow/executor.go:958
↓ 2 callers
Method
executeAction
executeAction executes a single action
workflow/executor.go:279
↓ 2 callers
Method
executeConsoleCommand
executeConsoleCommand executes a console command on the beacon
workflow/executor_config.go:232
↓ 2 callers
Function
filterBeacons
filterBeacons applies filter criteria to beacon list
selector/beacon_selector.go:228
↓ 2 callers
Function
formatTimeAgo
formatTimeAgo formats a duration into a human-readable "time ago" string
selector/beacon_selector.go:270
↓ 2 callers
Method
storeWorkflowVariables
storeWorkflowVariables stores user-defined variables in outputs map for interpolation
workflow/executor.go:1427
↓ 1 callers
Function
ActionRequiresBeacon
ActionRequiresBeacon returns true if the action type requires a beacon ID. Server-level operations (listeners, payloads, config) return false. The spe
workflow/action_categories.go:43
↓ 1 callers
Method
Debug
Debug logs a debug message
logger/logger.go:126
↓ 1 callers
Function
DisplayBeaconDetails
DisplayBeaconDetails shows detailed information about a selected beacon
selector/beacon_selector.go:291
↓ 1 callers
Method
Execute
Execute runs a workflow
workflow/executor.go:108
↓ 1 callers
Method
GetResults
GetResults returns the action results
workflow/executor.go:67
↓ 1 callers
Function
ListBeacons
ListBeacons displays a non-interactive table of beacons and exits
selector/beacon_selector.go:27
↓ 1 callers
Function
LoadConfig
LoadConfig loads configuration from file with environment variable overrides
config/config.go:42
↓ 1 callers
Function
LoadWorkflow
LoadWorkflow loads a workflow from a YAML file
workflow/types.go:43
↓ 1 callers
Function
New
New creates a new logger
logger/logger.go:48
↓ 1 callers
Function
NewExecutor
NewExecutor creates a new workflow executor
workflow/executor.go:46
↓ 1 callers
Function
NewValidator
NewValidator creates a new workflow validator
workflow/validator.go:18
↓ 1 callers
Function
SelectBeacon
SelectBeacon displays an interactive table of beacons and lets the user select one
selector/beacon_selector.go:114
↓ 1 callers
Function
SelectBeaconWithFilter
SelectBeaconWithFilter displays filtered beacons and lets the user select one
selector/beacon_selector.go:119
↓ 1 callers
Method
SetLogger
SetLogger sets the logger for the executor
workflow/executor.go:57
↓ 1 callers
Method
SetTaskTimeout
SetTaskTimeout sets the timeout for task completion
workflow/executor.go:62
↓ 1 callers
Method
Validate
Validate checks if required configuration is present
config/config.go:109
↓ 1 callers
Method
Validate
Validate performs pre-flight validation of a workflow
workflow/validator.go:23
↓ 1 callers
Method
WriteResult
WriteResult writes a result in the configured format
output/formatter.go:64
↓ 1 callers
Function
actionsRequireBeacon
actionsRequireBeacon recursively checks actions and their nested actions.
workflow/action_categories.go:65
↓ 1 callers
Method
checkCondition
checkCondition checks a single condition
workflow/executor.go:977
↓ 1 callers
Method
executeActionsParallel
executeActionsParallel executes actions in parallel
workflow/executor.go:151
↓ 1 callers
Method
executeBOFPack
executeBOFPack executes a BOF with typed arguments
workflow/executor.go:731
↓ 1 callers
Method
executeBOFPackCustom
executeBOFPackCustom executes a BOF with custom packed arguments
workflow/executor.go:1090
↓ 1 callers
Method
executeBOFPacked
executeBOFPacked executes a BOF with packed arguments
workflow/executor.go:697
↓ 1 callers
Method
executeBOFString
executeBOFString executes a BOF with string arguments
workflow/executor.go:662
↓ 1 callers
Method
executeBeaconInfo
============================================================ Beacon Configuration Action Handlers ====================================================
workflow/executor_config.go:15
↓ 1 callers
Method
executeBrowserPivotStart
executeBrowserPivotStart starts a browser pivot into the specified process
workflow/executor_pivoting.go:370
↓ 1 callers
Method
executeBrowserPivotStop
executeBrowserPivotStop tears down the browser pivoting sessions associated with this beacon
workflow/executor_pivoting.go:404
↓ 1 callers
Method
executeCancelDownload
--- Download Management Handlers --- executeCancelDownload cancels an active file download on the beacon
workflow/executor_capture.go:51
↓ 1 callers
Method
executeCd
--- File & Directory Operation Handlers --- executeCd changes the beacon's working directory
workflow/executor.go:1163
↓ 1 callers
Method
executeCheckin
executeCheckin forces a DNS beacon to check in immediately
workflow/executor_config.go:223
↓ 1 callers
Method
executeChromeDump
executeChromeDump recovers credential material from Google Chrome
workflow/executor_credentials.go:311
↓ 1 callers
Method
executeClearQueue
executeClearQueue clears the command queue for the specified beacon
workflow/executor_config.go:214
↓ 1 callers
Method
executeClipboard
executeClipboard gets clipboard contents from the beacon
workflow/executor_capture.go:40
↓ 1 callers
Method
executeCp
executeCp copies a file
workflow/executor.go:1215
↓ 1 callers
Method
executeDcSync
executeDcSync extracts NTLM password hash for domain users
workflow/executor_credentials.go:294
↓ 1 callers
Method
executeDeleteBeacon
============================================================ Beacon Management Action Handlers =======================================================
workflow/executor_config.go:205
↓ 1 callers
Method
executeDeleteListener
executeDeleteListener removes a listener by name
workflow/executor_server.go:47
↓ 1 callers
Method
executeDisableBeaconGate
executeDisableBeaconGate disables beacon gate for the specified beacon
workflow/executor_config.go:85
↓ 1 callers
Method
executeDisableBlockDlls
executeDisableBlockDlls disables block DLLs for the specified beacon
workflow/executor_config.go:103
↓ 1 callers
Method
executeDownload
executeDownload downloads a file from the beacon
workflow/executor.go:1075
↓ 1 callers
Method
executeDownloadPayload
executeDownloadPayload downloads a previously generated payload
workflow/executor_server.go:204
↓ 1 callers
Method
executeDrives
executeDrives lists drives
workflow/executor.go:1268
↓ 1 callers
Method
executeElevateBeacon
executeElevateBeacon creates an elevated beacon session
workflow/executor_spawn.go:116
↓ 1 callers
Method
executeElevateCommand
--- Privilege Elevation --- executeElevateCommand executes a command in elevated context
workflow/executor_spawn.go:97
↓ 1 callers
Method
executeEnableBeaconGate
executeEnableBeaconGate enables beacon gate for the specified beacon
workflow/executor_config.go:76
↓ 1 callers
Method
executeEnableBlockDlls
executeEnableBlockDlls enables block DLLs for the specified beacon
workflow/executor_config.go:94
↓ 1 callers
Method
executeExecuteAssembly
executeExecuteAssembly executes a .NET assembly
workflow/executor_spawn.go:342
↓ 1 callers
Method
executeExit
executeExit tells the beacon to exit
workflow/executor.go:1360
↓ 1 callers
Method
executeGenerateStagelessPayload
executeGenerateStagelessPayload generates a stageless beacon payload
workflow/executor_server.go:166
↓ 1 callers
Method
executeGenerateStagerPayload
executeGenerateStagerPayload generates a stager beacon payload
workflow/executor_server.go:185
↓ 1 callers
Method
executeGetC2Profile
executeGetC2Profile retrieves the Malleable C2 profile
workflow/executor_server.go:232
↓ 1 callers
Method
executeGetKillDate
--- Server Config Operations --- executeGetKillDate retrieves the beacon kill date
workflow/executor_server.go:222
↓ 1 callers
Method
executeGetListener
executeGetListener retrieves a specific listener by name
workflow/executor_server.go:31
↓ 1 callers
Method
executeGetPrivs
executeGetPrivs enables all available privileges
workflow/executor.go:1334
↓ 1 callers
Method
executeGetSystem
executeGetSystem executes getsystem command
workflow/executor.go:833
↓ 1 callers
Method
executeGetSystemInfo
executeGetSystemInfo retrieves team server system information
workflow/executor_server.go:242
↓ 1 callers
Method
executeGetTeamserverIp
executeGetTeamserverIp retrieves the team server IP
workflow/executor_server.go:252
↓ 1 callers
Method
executeGetUID
executeGetUID executes getuid command
workflow/executor.go:823
↓ 1 callers
Method
executeHashdump
executeHashdump dumps password hashes
workflow/executor_credentials.go:249
↓ 1 callers
Method
executeInjectBeacon
executeInjectBeacon injects beacon shellcode into a process
workflow/executor_spawn.go:199
↓ 1 callers
Method
executeInjectDll
--- DLL Operations --- executeInjectDll injects a reflective DLL into a process
workflow/executor_spawn.go:414
↓ 1 callers
Method
executeInjectLoadDll
executeInjectLoadDll loads a DLL from disk via LoadLibrary
workflow/executor_spawn.go:442
↓ 1 callers
Method
executeInjectPostExDll
executeInjectPostExDll injects postex DLL into a process
workflow/executor_spawn.go:487
↓ 1 callers
Method
executeInjectPth
executeInjectPth injects into a process for pass-the-hash
workflow/executor_spawn.go:378
↓ 1 callers
Method
executeInjectShellcode
executeInjectShellcode injects shellcode into a process
workflow/executor_spawn.go:246
↓ 1 callers
Method
executeJobStop
executeJobStop stops an active job
workflow/executor.go:1370
↓ 1 callers
Method
executeJump
executeJump executes a beacon session on a remote target with the specified remote execution method
workflow/executor_pivoting.go:181
↓ 1 callers
Method
executeKerberosTicketPurge
executeKerberosTicketPurge purges Kerberos tickets from the session
workflow/executor_credentials.go:112
↓ 1 callers
Method
executeKerberosTicketUse
executeKerberosTicketUse applies a Kerberos ticket to the session
workflow/executor_credentials.go:87
↓ 1 callers
Method
executeKeylogger
--- Capture Operation Handlers --- executeKeylogger starts a keylogger on the beacon (long-running background job)
workflow/executor_capture.go:13
↓ 1 callers
Method
executeKill
executeKill terminates a process by PID
workflow/executor.go:1309
next →
1–100 of 202, ranked by callers