MCPcopy Create free account

hub / github.com/Xenov-X/csbot / functions

Functions202 in github.com/Xenov-X/csbot

↓ 77 callersMethodwaitForOutput
waitForOutput waits for task output
workflow/executor.go:869
↓ 41 callersMethodfireAndForget
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 callersMethodlogInfo
logInfo logs an info message
workflow/executor.go:81
↓ 23 callersMethodInfo
Info logs an info message
logger/logger.go:131
↓ 22 callersMethodlogDebug
logDebug logs a debug message
workflow/executor.go:99
↓ 15 callersMethodError
Error logs an error message
logger/logger.go:141
↓ 11 callersMethodString
()
workflow/validator.go:1262
↓ 9 callersMethodexecuteAddListener
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 callersMethodexecuteUpdateListener
executeUpdateListener is a generic handler for all update_*_listener action types.
workflow/executor_server.go:105
↓ 6 callersFunctiontruncate
truncate truncates a string to a maximum length
selector/beacon_selector.go:283
↓ 5 callersMethodlog
log writes a log message at the specified level
logger/logger.go:88
↓ 4 callersMethodcheckAllOf
checkAllOf checks if all conditions are true (AND logic)
workflow/executor.go:943
↓ 4 callersMethodlogError
logError logs an error message
workflow/executor.go:90
↓ 3 callersMethodexecuteActions
executeActions executes a list of actions
workflow/executor.go:214
↓ 3 callersMethodrecordResult
recordResult records an action result
workflow/executor.go:74
↓ 3 callersMethodvalidateCondition
validateCondition validates a condition
workflow/validator.go:1168
↓ 2 callersFunctionNewFormatter
NewFormatter creates a new output formatter
output/formatter.go:53
↓ 2 callersFunctionPackBOFArguments
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 callersMethodWarn
Warn logs a warning message
logger/logger.go:136
↓ 2 callersFunctionWorkflowRequiresBeacon
WorkflowRequiresBeacon checks if any action in the workflow requires a beacon.
workflow/action_categories.go:60
↓ 2 callersMethodcheckAnyOf
checkAnyOf checks if at least one condition is true (OR logic)
workflow/executor.go:924
↓ 2 callersMethodevaluateActionConditions
evaluateActionConditions evaluates all condition groups for an action
workflow/executor.go:899
↓ 2 callersMethodevaluateCondition
evaluateCondition evaluates a single condition (supports nested any_of/all_of)
workflow/executor.go:958
↓ 2 callersMethodexecuteAction
executeAction executes a single action
workflow/executor.go:279
↓ 2 callersMethodexecuteConsoleCommand
executeConsoleCommand executes a console command on the beacon
workflow/executor_config.go:232
↓ 2 callersFunctionfilterBeacons
filterBeacons applies filter criteria to beacon list
selector/beacon_selector.go:228
↓ 2 callersFunctionformatTimeAgo
formatTimeAgo formats a duration into a human-readable "time ago" string
selector/beacon_selector.go:270
↓ 2 callersMethodstoreWorkflowVariables
storeWorkflowVariables stores user-defined variables in outputs map for interpolation
workflow/executor.go:1427
↓ 1 callersFunctionActionRequiresBeacon
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 callersMethodDebug
Debug logs a debug message
logger/logger.go:126
↓ 1 callersFunctionDisplayBeaconDetails
DisplayBeaconDetails shows detailed information about a selected beacon
selector/beacon_selector.go:291
↓ 1 callersMethodExecute
Execute runs a workflow
workflow/executor.go:108
↓ 1 callersMethodGetResults
GetResults returns the action results
workflow/executor.go:67
↓ 1 callersFunctionListBeacons
ListBeacons displays a non-interactive table of beacons and exits
selector/beacon_selector.go:27
↓ 1 callersFunctionLoadConfig
LoadConfig loads configuration from file with environment variable overrides
config/config.go:42
↓ 1 callersFunctionLoadWorkflow
LoadWorkflow loads a workflow from a YAML file
workflow/types.go:43
↓ 1 callersFunctionNew
New creates a new logger
logger/logger.go:48
↓ 1 callersFunctionNewExecutor
NewExecutor creates a new workflow executor
workflow/executor.go:46
↓ 1 callersFunctionNewValidator
NewValidator creates a new workflow validator
workflow/validator.go:18
↓ 1 callersFunctionSelectBeacon
SelectBeacon displays an interactive table of beacons and lets the user select one
selector/beacon_selector.go:114
↓ 1 callersFunctionSelectBeaconWithFilter
SelectBeaconWithFilter displays filtered beacons and lets the user select one
selector/beacon_selector.go:119
↓ 1 callersMethodSetLogger
SetLogger sets the logger for the executor
workflow/executor.go:57
↓ 1 callersMethodSetTaskTimeout
SetTaskTimeout sets the timeout for task completion
workflow/executor.go:62
↓ 1 callersMethodValidate
Validate checks if required configuration is present
config/config.go:109
↓ 1 callersMethodValidate
Validate performs pre-flight validation of a workflow
workflow/validator.go:23
↓ 1 callersMethodWriteResult
WriteResult writes a result in the configured format
output/formatter.go:64
↓ 1 callersFunctionactionsRequireBeacon
actionsRequireBeacon recursively checks actions and their nested actions.
workflow/action_categories.go:65
↓ 1 callersMethodcheckCondition
checkCondition checks a single condition
workflow/executor.go:977
↓ 1 callersMethodexecuteActionsParallel
executeActionsParallel executes actions in parallel
workflow/executor.go:151
↓ 1 callersMethodexecuteBOFPack
executeBOFPack executes a BOF with typed arguments
workflow/executor.go:731
↓ 1 callersMethodexecuteBOFPackCustom
executeBOFPackCustom executes a BOF with custom packed arguments
workflow/executor.go:1090
↓ 1 callersMethodexecuteBOFPacked
executeBOFPacked executes a BOF with packed arguments
workflow/executor.go:697
↓ 1 callersMethodexecuteBOFString
executeBOFString executes a BOF with string arguments
workflow/executor.go:662
↓ 1 callersMethodexecuteBeaconInfo
============================================================ Beacon Configuration Action Handlers ====================================================
workflow/executor_config.go:15
↓ 1 callersMethodexecuteBrowserPivotStart
executeBrowserPivotStart starts a browser pivot into the specified process
workflow/executor_pivoting.go:370
↓ 1 callersMethodexecuteBrowserPivotStop
executeBrowserPivotStop tears down the browser pivoting sessions associated with this beacon
workflow/executor_pivoting.go:404
↓ 1 callersMethodexecuteCancelDownload
--- Download Management Handlers --- executeCancelDownload cancels an active file download on the beacon
workflow/executor_capture.go:51
↓ 1 callersMethodexecuteCd
--- File & Directory Operation Handlers --- executeCd changes the beacon's working directory
workflow/executor.go:1163
↓ 1 callersMethodexecuteCheckin
executeCheckin forces a DNS beacon to check in immediately
workflow/executor_config.go:223
↓ 1 callersMethodexecuteChromeDump
executeChromeDump recovers credential material from Google Chrome
workflow/executor_credentials.go:311
↓ 1 callersMethodexecuteClearQueue
executeClearQueue clears the command queue for the specified beacon
workflow/executor_config.go:214
↓ 1 callersMethodexecuteClipboard
executeClipboard gets clipboard contents from the beacon
workflow/executor_capture.go:40
↓ 1 callersMethodexecuteCp
executeCp copies a file
workflow/executor.go:1215
↓ 1 callersMethodexecuteDcSync
executeDcSync extracts NTLM password hash for domain users
workflow/executor_credentials.go:294
↓ 1 callersMethodexecuteDeleteBeacon
============================================================ Beacon Management Action Handlers =======================================================
workflow/executor_config.go:205
↓ 1 callersMethodexecuteDeleteListener
executeDeleteListener removes a listener by name
workflow/executor_server.go:47
↓ 1 callersMethodexecuteDisableBeaconGate
executeDisableBeaconGate disables beacon gate for the specified beacon
workflow/executor_config.go:85
↓ 1 callersMethodexecuteDisableBlockDlls
executeDisableBlockDlls disables block DLLs for the specified beacon
workflow/executor_config.go:103
↓ 1 callersMethodexecuteDownload
executeDownload downloads a file from the beacon
workflow/executor.go:1075
↓ 1 callersMethodexecuteDownloadPayload
executeDownloadPayload downloads a previously generated payload
workflow/executor_server.go:204
↓ 1 callersMethodexecuteDrives
executeDrives lists drives
workflow/executor.go:1268
↓ 1 callersMethodexecuteElevateBeacon
executeElevateBeacon creates an elevated beacon session
workflow/executor_spawn.go:116
↓ 1 callersMethodexecuteElevateCommand
--- Privilege Elevation --- executeElevateCommand executes a command in elevated context
workflow/executor_spawn.go:97
↓ 1 callersMethodexecuteEnableBeaconGate
executeEnableBeaconGate enables beacon gate for the specified beacon
workflow/executor_config.go:76
↓ 1 callersMethodexecuteEnableBlockDlls
executeEnableBlockDlls enables block DLLs for the specified beacon
workflow/executor_config.go:94
↓ 1 callersMethodexecuteExecuteAssembly
executeExecuteAssembly executes a .NET assembly
workflow/executor_spawn.go:342
↓ 1 callersMethodexecuteExit
executeExit tells the beacon to exit
workflow/executor.go:1360
↓ 1 callersMethodexecuteGenerateStagelessPayload
executeGenerateStagelessPayload generates a stageless beacon payload
workflow/executor_server.go:166
↓ 1 callersMethodexecuteGenerateStagerPayload
executeGenerateStagerPayload generates a stager beacon payload
workflow/executor_server.go:185
↓ 1 callersMethodexecuteGetC2Profile
executeGetC2Profile retrieves the Malleable C2 profile
workflow/executor_server.go:232
↓ 1 callersMethodexecuteGetKillDate
--- Server Config Operations --- executeGetKillDate retrieves the beacon kill date
workflow/executor_server.go:222
↓ 1 callersMethodexecuteGetListener
executeGetListener retrieves a specific listener by name
workflow/executor_server.go:31
↓ 1 callersMethodexecuteGetPrivs
executeGetPrivs enables all available privileges
workflow/executor.go:1334
↓ 1 callersMethodexecuteGetSystem
executeGetSystem executes getsystem command
workflow/executor.go:833
↓ 1 callersMethodexecuteGetSystemInfo
executeGetSystemInfo retrieves team server system information
workflow/executor_server.go:242
↓ 1 callersMethodexecuteGetTeamserverIp
executeGetTeamserverIp retrieves the team server IP
workflow/executor_server.go:252
↓ 1 callersMethodexecuteGetUID
executeGetUID executes getuid command
workflow/executor.go:823
↓ 1 callersMethodexecuteHashdump
executeHashdump dumps password hashes
workflow/executor_credentials.go:249
↓ 1 callersMethodexecuteInjectBeacon
executeInjectBeacon injects beacon shellcode into a process
workflow/executor_spawn.go:199
↓ 1 callersMethodexecuteInjectDll
--- DLL Operations --- executeInjectDll injects a reflective DLL into a process
workflow/executor_spawn.go:414
↓ 1 callersMethodexecuteInjectLoadDll
executeInjectLoadDll loads a DLL from disk via LoadLibrary
workflow/executor_spawn.go:442
↓ 1 callersMethodexecuteInjectPostExDll
executeInjectPostExDll injects postex DLL into a process
workflow/executor_spawn.go:487
↓ 1 callersMethodexecuteInjectPth
executeInjectPth injects into a process for pass-the-hash
workflow/executor_spawn.go:378
↓ 1 callersMethodexecuteInjectShellcode
executeInjectShellcode injects shellcode into a process
workflow/executor_spawn.go:246
↓ 1 callersMethodexecuteJobStop
executeJobStop stops an active job
workflow/executor.go:1370
↓ 1 callersMethodexecuteJump
executeJump executes a beacon session on a remote target with the specified remote execution method
workflow/executor_pivoting.go:181
↓ 1 callersMethodexecuteKerberosTicketPurge
executeKerberosTicketPurge purges Kerberos tickets from the session
workflow/executor_credentials.go:112
↓ 1 callersMethodexecuteKerberosTicketUse
executeKerberosTicketUse applies a Kerberos ticket to the session
workflow/executor_credentials.go:87
↓ 1 callersMethodexecuteKeylogger
--- Capture Operation Handlers --- executeKeylogger starts a keylogger on the beacon (long-running background job)
workflow/executor_capture.go:13
↓ 1 callersMethodexecuteKill
executeKill terminates a process by PID
workflow/executor.go:1309
next →1–100 of 202, ranked by callers