MCPcopy Create free account

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

Functions202 in github.com/Xenov-X/csbot

↓ 1 callersMethodexecuteLinkSmb
--- Pivoting and Lateral Movement Handlers --- executeLinkSmb connects to an SMB beacon and re-establishes control
workflow/executor_pivoting.go:13
↓ 1 callersMethodexecuteLinkTcp
executeLinkTcp connects to a TCP beacon and re-establishes control
workflow/executor_pivoting.go:29
↓ 1 callersMethodexecuteListArtifacts
--- Payload Operations --- executeListArtifacts lists all server-side artifacts (generated payloads)
workflow/executor_server.go:155
↓ 1 callersMethodexecuteListJobs
executeListJobs lists all active jobs for the specified beacon
workflow/executor_config.go:259
↓ 1 callersMethodexecuteListListeners
============================================================ Server-Level Action Handlers These operations do NOT require a beacon ID and return synch
workflow/executor_server.go:20
↓ 1 callersMethodexecuteLogonPasswords
executeLogonPasswords dumps plaintext credentials and NTLM hashes
workflow/executor_credentials.go:259
↓ 1 callersMethodexecuteLs
executeLs lists directory contents
workflow/executor.go:1178
↓ 1 callersMethodexecuteMakeToken
executeMakeToken creates a token from specified credentials using domain/user/password
workflow/executor_credentials.go:38
↓ 1 callersMethodexecuteMakeTokenUpn
executeMakeTokenUpn creates a token from specified credentials using UPN
workflow/executor_credentials.go:58
↓ 1 callersMethodexecuteMimikatz
executeMimikatz executes a mimikatz command
workflow/executor_credentials.go:269
↓ 1 callersMethodexecuteMkdir
executeMkdir creates a directory
workflow/executor.go:1200
↓ 1 callersMethodexecuteMv
executeMv moves/renames a file
workflow/executor.go:1234
↓ 1 callersMethodexecuteNetComputers
executeNetComputers lists hosts from the Domain Computers and Domain Controllers groups on the specified domain
workflow/executor_network.go:143
↓ 1 callersMethodexecuteNetDcList
executeNetDcList lists domain controllers for the specified domain
workflow/executor_network.go:133
↓ 1 callersMethodexecuteNetDomain
executeNetDomain gets the current domain
workflow/executor_network.go:11
↓ 1 callersMethodexecuteNetDomainControllers
executeNetDomainControllers lists hosts from the Domain Controllers group on the specified domain
workflow/executor_network.go:123
↓ 1 callersMethodexecuteNetDomainTrusts
executeNetDomainTrusts lists domain trusts for the specified domain
workflow/executor_network.go:113
↓ 1 callersMethodexecuteNetGroup
executeNetGroup enumerates groups on a domain controller
workflow/executor_network.go:102
↓ 1 callersMethodexecuteNetLocalGroup
executeNetLocalGroup enumerates local groups on a specific system
workflow/executor_network.go:91
↓ 1 callersMethodexecuteNetLogons
executeNetLogons lists logged in users on a target
workflow/executor_network.go:81
↓ 1 callersMethodexecuteNetSessions
executeNetSessions lists sessions on a target
workflow/executor_network.go:71
↓ 1 callersMethodexecuteNetShare
executeNetShare lists shares on a target
workflow/executor_network.go:61
↓ 1 callersMethodexecuteNetTime
executeNetTime shows time for a target
workflow/executor_network.go:51
↓ 1 callersMethodexecuteNetUser
executeNetUser lists users on a system
workflow/executor_network.go:30
↓ 1 callersMethodexecuteNetUserDetail
executeNetUserDetail gets information about a specific user
workflow/executor_network.go:40
↓ 1 callersMethodexecuteNetView
executeNetView lists domain hosts
workflow/executor_network.go:20
↓ 1 callersMethodexecutePortScan
executePortScan runs a portscan against the specified hosts
workflow/executor_network.go:153
↓ 1 callersMethodexecutePowerPick
executePowerPick executes unmanaged PowerShell (spawn)
workflow/executor_spawn.go:294
↓ 1 callersMethodexecutePowerShell
executePowerShell executes a PowerShell command
workflow/executor.go:1045
↓ 1 callersMethodexecutePowerShellImport
--- PowerShell & .NET --- executePowerShellImport imports a PowerShell script
workflow/executor_spawn.go:280
↓ 1 callersMethodexecutePrintscreen
executePrintscreen captures a screenshot using print screen method
workflow/executor_capture.go:31
↓ 1 callersMethodexecutePs
--- Process Management Handlers --- executePs lists processes
workflow/executor.go:1299
↓ 1 callersMethodexecutePsInject
executePsInject executes unmanaged PowerShell (inject)
workflow/executor_spawn.go:309
↓ 1 callersMethodexecutePwd
executePwd gets current working directory
workflow/executor.go:1190
↓ 1 callersMethodexecuteRegQuery
--- Registry --- executeRegQuery queries a registry key
workflow/executor_spawn.go:518
↓ 1 callersMethodexecuteRegQueryValue
executeRegQueryValue queries a registry subkey value
workflow/executor_spawn.go:536
↓ 1 callersMethodexecuteRemoteExec
executeRemoteExec executes a command on a target via specific remote execution method
workflow/executor_pivoting.go:157
↓ 1 callersMethodexecuteRev2Self
executeRev2Self reverts to the original security context
workflow/executor_credentials.go:77
↓ 1 callersMethodexecuteRm
executeRm removes a file or folder
workflow/executor.go:1253
↓ 1 callersMethodexecuteRportfwdStart
executeRportfwdStart starts reverse port forwarding on the specified bind port
workflow/executor_pivoting.go:302
↓ 1 callersMethodexecuteRportfwdStop
executeRportfwdStop stops reverse port forwarding on the specific bind port
workflow/executor_pivoting.go:346
↓ 1 callersMethodexecuteRun
--- Command Execution Variants --- executeRun executes a command without cmd.exe
workflow/executor_spawn.go:13
↓ 1 callersMethodexecuteRunAs
executeRunAs executes a command as another user
workflow/executor_spawn.go:28
↓ 1 callersMethodexecuteRunNoOutput
executeRunNoOutput executes a command without blocking or returning output
workflow/executor_spawn.go:81
↓ 1 callersMethodexecuteRunUnder
executeRunUnder executes a command with specified PID as parent
workflow/executor_spawn.go:52
↓ 1 callersMethodexecuteScreenshot
executeScreenshot captures a screenshot
workflow/executor.go:1150
↓ 1 callersMethodexecuteScreenwatch
executeScreenwatch starts screenwatch on the beacon (long-running background job)
workflow/executor_capture.go:22
↓ 1 callersMethodexecuteSetDnsMode
executeSetDnsMode sets the DNS beacon mode (dns, dns6, or dnsTxt)
workflow/executor_config.go:173
↓ 1 callersMethodexecuteSetEnv
executeSetEnv sets an environment variable
workflow/executor.go:1344
↓ 1 callersMethodexecuteSetNote
executeSetNote assigns a note to the beacon
workflow/executor_config.go:62
↓ 1 callersMethodexecuteSetPpid
executeSetPpid sets the parent process ID for the specified beacon
workflow/executor_config.go:140
↓ 1 callersMethodexecuteSetSleep
executeSetSleep sets the beacon's sleep time and jitter
workflow/executor_config.go:24
↓ 1 callersMethodexecuteSetSpawnto
executeSetSpawnto sets the spawn-to process for the specified beacon
workflow/executor_config.go:112
↓ 1 callersMethodexecuteSetSyscallMethod
executeSetSyscallMethod sets the syscall method for the beacon
workflow/executor_config.go:187
↓ 1 callersMethodexecuteShell
executeShell executes a shell command
workflow/executor.go:1030
↓ 1 callersMethodexecuteSleep
executeSleep pauses execution
workflow/executor.go:843
↓ 1 callersMethodexecuteSocks4Start
--- Tunneling Handlers --- executeSocks4Start starts a SOCKS4a server on the specified port
workflow/executor_pivoting.go:207
↓ 1 callersMethodexecuteSocks5Start
executeSocks5Start starts a SOCKS5 server on the specified port with optional authentication
workflow/executor_pivoting.go:231
↓ 1 callersMethodexecuteSocksStop
executeSocksStop stops the specific SOCKS server on the given port
workflow/executor_pivoting.go:278
↓ 1 callersMethodexecuteSocksStopAll
executeSocksStopAll stops all SOCKS servers and terminates existing connections
workflow/executor_pivoting.go:269
↓ 1 callersMethodexecuteSpawnBeacon
--- Beacon/Shellcode Spawn & Inject --- executeSpawnBeacon spawns a beacon process
workflow/executor_spawn.go:136
↓ 1 callersMethodexecuteSpawnBeaconAsUser
executeSpawnBeaconAsUser spawns a beacon process as another user
workflow/executor_spawn.go:151
↓ 1 callersMethodexecuteSpawnBeaconUnder
executeSpawnBeaconUnder spawns a beacon with specified PID as parent
workflow/executor_spawn.go:171
↓ 1 callersMethodexecuteSpawnPostExDll
--- PostEx DLL --- executeSpawnPostExDll spawns a temporary process and injects postex DLL
workflow/executor_spawn.go:472
↓ 1 callersMethodexecuteSpawnPth
--- Pass-the-Hash --- executeSpawnPth spawns a process for pass-the-hash
workflow/executor_spawn.go:359
↓ 1 callersMethodexecuteSpawnShellcode
executeSpawnShellcode spawns a process and injects shellcode
workflow/executor_spawn.go:228
↓ 1 callersMethodexecuteSsh
executeSsh spawns a temporary process to run an SSH client with username/password
workflow/executor_pivoting.go:81
↓ 1 callersMethodexecuteSshKey
executeSshKey spawns a temporary process to run an SSH client with SSH key authentication
workflow/executor_pivoting.go:119
↓ 1 callersMethodexecuteStealToken
executeStealToken steals a token from a process
workflow/executor_credentials.go:13
↓ 1 callersMethodexecuteTimestomp
executeTimestomp copies file timestamps from source to destination
workflow/executor.go:1278
↓ 1 callersMethodexecuteTokenStoreList
executeTokenStoreList lists all tokens in the token store
workflow/executor_credentials.go:232
↓ 1 callersMethodexecuteTokenStoreRemove
executeTokenStoreRemove removes a specific token from the token store
workflow/executor_credentials.go:197
↓ 1 callersMethodexecuteTokenStoreRemoveAll
executeTokenStoreRemoveAll removes all tokens from the token store
workflow/executor_credentials.go:222
↓ 1 callersMethodexecuteTokenStoreSteal
executeTokenStoreSteal steals a token and stores it in the token store
workflow/executor_credentials.go:122
↓ 1 callersMethodexecuteTokenStoreStealAndUse
executeTokenStoreStealAndUse steals a token, stores it, and immediately applies it
workflow/executor_credentials.go:147
↓ 1 callersMethodexecuteTokenStoreUse
executeTokenStoreUse uses a token from the token store
workflow/executor_credentials.go:172
↓ 1 callersMethodexecuteUnlink
executeUnlink disconnects from a named pipe or TCP beacon
workflow/executor_pivoting.go:55
↓ 1 callersMethodexecuteUnsetPpid
executeUnsetPpid unsets the parent process ID for the specified beacon
workflow/executor_config.go:164
↓ 1 callersMethodexecuteUnsetSpawnto
executeUnsetSpawnto unsets the spawn-to process for the specified beacon
workflow/executor_config.go:131
↓ 1 callersMethodexecuteUpload
executeUpload uploads a file to the beacon's current working directory
workflow/executor.go:1060
↓ 1 callersMethodinterpolateAction
interpolateAction replaces ${action_name} variables with action outputs
workflow/executor.go:628
↓ 1 callersMethodinterpolateString
interpolateString replaces ${action_name} variables with outputs
workflow/executor.go:649
↓ 1 callersMethodlogJSON
(level LogLevel, message string)
logger/logger.go:114
↓ 1 callersMethodlogText
(level LogLevel, message string)
logger/logger.go:102
↓ 1 callersFunctionpackBinaryWithPrefix
packBinaryWithPrefix packs binary data with 4-byte BE length prefix Format: [length:4 BE][data...]
workflow/bof_packer.go:69
↓ 1 callersFunctionpackInt
packInt packs a 32-bit integer in BIG-ENDIAN format (no length prefix) Format: [int:4 BE]
workflow/bof_packer.go:94
↓ 1 callersFunctionpackShort
packShort packs a 16-bit short in BIG-ENDIAN format (no length prefix) Format: [short:2 BE]
workflow/bof_packer.go:123
↓ 1 callersFunctionpackStringWithPrefix
packStringWithPrefix packs an ASCII string with 4-byte BE length prefix and null terminator Format: [length:4 BE][char1:1][char2:1]...[null:1] Note: L
workflow/bof_packer.go:153
↓ 1 callersFunctionpackWideStringWithPrefix
packWideStringWithPrefix packs a UTF-16LE wide string with 4-byte BE length prefix and null terminator Format: [byte_length:4 BE][utf16le_char1:2][utf
workflow/bof_packer.go:173
↓ 1 callersFunctionparseLevel
(level string)
logger/logger.go:72
↓ 1 callersMethodstoreBeaconMetadata
storeBeaconMetadata stores beacon metadata in outputs map for condition evaluation
workflow/executor.go:1395
↓ 1 callersMethodvalidateAction
validateAction validates a single action
workflow/validator.go:108
↓ 1 callersMethodvalidateBOFAction
validateBOFAction validates BOF-specific parameters
workflow/validator.go:1133
↓ 1 callersMethodvalidateVariables
validateVariables checks for valid variable names and potential conflicts
workflow/validator.go:82
↓ 1 callersMethodwriteCSV
writeCSV writes result as CSV
output/formatter.go:85
↓ 1 callersMethodwriteJSON
writeJSON writes result as JSON
output/formatter.go:78
↓ 1 callersMethodwriteText
writeText writes result as human-readable text
output/formatter.go:121
FunctionActionIsSynchronous
ActionIsSynchronous returns true if the action returns a synchronous response (no task ID polling needed). All server-level operations are synchronous
workflow/action_categories.go:55
MethodFatal
Fatal logs an error message and exits
logger/logger.go:146
FunctionTestPackBOFArguments
(t *testing.T)
workflow/bof_packer_test.go:8
← previousnext →101–200 of 202, ranked by callers