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
↓ 1 callers
Method
executeLinkSmb
--- Pivoting and Lateral Movement Handlers --- executeLinkSmb connects to an SMB beacon and re-establishes control
workflow/executor_pivoting.go:13
↓ 1 callers
Method
executeLinkTcp
executeLinkTcp connects to a TCP beacon and re-establishes control
workflow/executor_pivoting.go:29
↓ 1 callers
Method
executeListArtifacts
--- Payload Operations --- executeListArtifacts lists all server-side artifacts (generated payloads)
workflow/executor_server.go:155
↓ 1 callers
Method
executeListJobs
executeListJobs lists all active jobs for the specified beacon
workflow/executor_config.go:259
↓ 1 callers
Method
executeListListeners
============================================================ Server-Level Action Handlers These operations do NOT require a beacon ID and return synch
workflow/executor_server.go:20
↓ 1 callers
Method
executeLogonPasswords
executeLogonPasswords dumps plaintext credentials and NTLM hashes
workflow/executor_credentials.go:259
↓ 1 callers
Method
executeLs
executeLs lists directory contents
workflow/executor.go:1178
↓ 1 callers
Method
executeMakeToken
executeMakeToken creates a token from specified credentials using domain/user/password
workflow/executor_credentials.go:38
↓ 1 callers
Method
executeMakeTokenUpn
executeMakeTokenUpn creates a token from specified credentials using UPN
workflow/executor_credentials.go:58
↓ 1 callers
Method
executeMimikatz
executeMimikatz executes a mimikatz command
workflow/executor_credentials.go:269
↓ 1 callers
Method
executeMkdir
executeMkdir creates a directory
workflow/executor.go:1200
↓ 1 callers
Method
executeMv
executeMv moves/renames a file
workflow/executor.go:1234
↓ 1 callers
Method
executeNetComputers
executeNetComputers lists hosts from the Domain Computers and Domain Controllers groups on the specified domain
workflow/executor_network.go:143
↓ 1 callers
Method
executeNetDcList
executeNetDcList lists domain controllers for the specified domain
workflow/executor_network.go:133
↓ 1 callers
Method
executeNetDomain
executeNetDomain gets the current domain
workflow/executor_network.go:11
↓ 1 callers
Method
executeNetDomainControllers
executeNetDomainControllers lists hosts from the Domain Controllers group on the specified domain
workflow/executor_network.go:123
↓ 1 callers
Method
executeNetDomainTrusts
executeNetDomainTrusts lists domain trusts for the specified domain
workflow/executor_network.go:113
↓ 1 callers
Method
executeNetGroup
executeNetGroup enumerates groups on a domain controller
workflow/executor_network.go:102
↓ 1 callers
Method
executeNetLocalGroup
executeNetLocalGroup enumerates local groups on a specific system
workflow/executor_network.go:91
↓ 1 callers
Method
executeNetLogons
executeNetLogons lists logged in users on a target
workflow/executor_network.go:81
↓ 1 callers
Method
executeNetSessions
executeNetSessions lists sessions on a target
workflow/executor_network.go:71
↓ 1 callers
Method
executeNetShare
executeNetShare lists shares on a target
workflow/executor_network.go:61
↓ 1 callers
Method
executeNetTime
executeNetTime shows time for a target
workflow/executor_network.go:51
↓ 1 callers
Method
executeNetUser
executeNetUser lists users on a system
workflow/executor_network.go:30
↓ 1 callers
Method
executeNetUserDetail
executeNetUserDetail gets information about a specific user
workflow/executor_network.go:40
↓ 1 callers
Method
executeNetView
executeNetView lists domain hosts
workflow/executor_network.go:20
↓ 1 callers
Method
executePortScan
executePortScan runs a portscan against the specified hosts
workflow/executor_network.go:153
↓ 1 callers
Method
executePowerPick
executePowerPick executes unmanaged PowerShell (spawn)
workflow/executor_spawn.go:294
↓ 1 callers
Method
executePowerShell
executePowerShell executes a PowerShell command
workflow/executor.go:1045
↓ 1 callers
Method
executePowerShellImport
--- PowerShell & .NET --- executePowerShellImport imports a PowerShell script
workflow/executor_spawn.go:280
↓ 1 callers
Method
executePrintscreen
executePrintscreen captures a screenshot using print screen method
workflow/executor_capture.go:31
↓ 1 callers
Method
executePs
--- Process Management Handlers --- executePs lists processes
workflow/executor.go:1299
↓ 1 callers
Method
executePsInject
executePsInject executes unmanaged PowerShell (inject)
workflow/executor_spawn.go:309
↓ 1 callers
Method
executePwd
executePwd gets current working directory
workflow/executor.go:1190
↓ 1 callers
Method
executeRegQuery
--- Registry --- executeRegQuery queries a registry key
workflow/executor_spawn.go:518
↓ 1 callers
Method
executeRegQueryValue
executeRegQueryValue queries a registry subkey value
workflow/executor_spawn.go:536
↓ 1 callers
Method
executeRemoteExec
executeRemoteExec executes a command on a target via specific remote execution method
workflow/executor_pivoting.go:157
↓ 1 callers
Method
executeRev2Self
executeRev2Self reverts to the original security context
workflow/executor_credentials.go:77
↓ 1 callers
Method
executeRm
executeRm removes a file or folder
workflow/executor.go:1253
↓ 1 callers
Method
executeRportfwdStart
executeRportfwdStart starts reverse port forwarding on the specified bind port
workflow/executor_pivoting.go:302
↓ 1 callers
Method
executeRportfwdStop
executeRportfwdStop stops reverse port forwarding on the specific bind port
workflow/executor_pivoting.go:346
↓ 1 callers
Method
executeRun
--- Command Execution Variants --- executeRun executes a command without cmd.exe
workflow/executor_spawn.go:13
↓ 1 callers
Method
executeRunAs
executeRunAs executes a command as another user
workflow/executor_spawn.go:28
↓ 1 callers
Method
executeRunNoOutput
executeRunNoOutput executes a command without blocking or returning output
workflow/executor_spawn.go:81
↓ 1 callers
Method
executeRunUnder
executeRunUnder executes a command with specified PID as parent
workflow/executor_spawn.go:52
↓ 1 callers
Method
executeScreenshot
executeScreenshot captures a screenshot
workflow/executor.go:1150
↓ 1 callers
Method
executeScreenwatch
executeScreenwatch starts screenwatch on the beacon (long-running background job)
workflow/executor_capture.go:22
↓ 1 callers
Method
executeSetDnsMode
executeSetDnsMode sets the DNS beacon mode (dns, dns6, or dnsTxt)
workflow/executor_config.go:173
↓ 1 callers
Method
executeSetEnv
executeSetEnv sets an environment variable
workflow/executor.go:1344
↓ 1 callers
Method
executeSetNote
executeSetNote assigns a note to the beacon
workflow/executor_config.go:62
↓ 1 callers
Method
executeSetPpid
executeSetPpid sets the parent process ID for the specified beacon
workflow/executor_config.go:140
↓ 1 callers
Method
executeSetSleep
executeSetSleep sets the beacon's sleep time and jitter
workflow/executor_config.go:24
↓ 1 callers
Method
executeSetSpawnto
executeSetSpawnto sets the spawn-to process for the specified beacon
workflow/executor_config.go:112
↓ 1 callers
Method
executeSetSyscallMethod
executeSetSyscallMethod sets the syscall method for the beacon
workflow/executor_config.go:187
↓ 1 callers
Method
executeShell
executeShell executes a shell command
workflow/executor.go:1030
↓ 1 callers
Method
executeSleep
executeSleep pauses execution
workflow/executor.go:843
↓ 1 callers
Method
executeSocks4Start
--- Tunneling Handlers --- executeSocks4Start starts a SOCKS4a server on the specified port
workflow/executor_pivoting.go:207
↓ 1 callers
Method
executeSocks5Start
executeSocks5Start starts a SOCKS5 server on the specified port with optional authentication
workflow/executor_pivoting.go:231
↓ 1 callers
Method
executeSocksStop
executeSocksStop stops the specific SOCKS server on the given port
workflow/executor_pivoting.go:278
↓ 1 callers
Method
executeSocksStopAll
executeSocksStopAll stops all SOCKS servers and terminates existing connections
workflow/executor_pivoting.go:269
↓ 1 callers
Method
executeSpawnBeacon
--- Beacon/Shellcode Spawn & Inject --- executeSpawnBeacon spawns a beacon process
workflow/executor_spawn.go:136
↓ 1 callers
Method
executeSpawnBeaconAsUser
executeSpawnBeaconAsUser spawns a beacon process as another user
workflow/executor_spawn.go:151
↓ 1 callers
Method
executeSpawnBeaconUnder
executeSpawnBeaconUnder spawns a beacon with specified PID as parent
workflow/executor_spawn.go:171
↓ 1 callers
Method
executeSpawnPostExDll
--- PostEx DLL --- executeSpawnPostExDll spawns a temporary process and injects postex DLL
workflow/executor_spawn.go:472
↓ 1 callers
Method
executeSpawnPth
--- Pass-the-Hash --- executeSpawnPth spawns a process for pass-the-hash
workflow/executor_spawn.go:359
↓ 1 callers
Method
executeSpawnShellcode
executeSpawnShellcode spawns a process and injects shellcode
workflow/executor_spawn.go:228
↓ 1 callers
Method
executeSsh
executeSsh spawns a temporary process to run an SSH client with username/password
workflow/executor_pivoting.go:81
↓ 1 callers
Method
executeSshKey
executeSshKey spawns a temporary process to run an SSH client with SSH key authentication
workflow/executor_pivoting.go:119
↓ 1 callers
Method
executeStealToken
executeStealToken steals a token from a process
workflow/executor_credentials.go:13
↓ 1 callers
Method
executeTimestomp
executeTimestomp copies file timestamps from source to destination
workflow/executor.go:1278
↓ 1 callers
Method
executeTokenStoreList
executeTokenStoreList lists all tokens in the token store
workflow/executor_credentials.go:232
↓ 1 callers
Method
executeTokenStoreRemove
executeTokenStoreRemove removes a specific token from the token store
workflow/executor_credentials.go:197
↓ 1 callers
Method
executeTokenStoreRemoveAll
executeTokenStoreRemoveAll removes all tokens from the token store
workflow/executor_credentials.go:222
↓ 1 callers
Method
executeTokenStoreSteal
executeTokenStoreSteal steals a token and stores it in the token store
workflow/executor_credentials.go:122
↓ 1 callers
Method
executeTokenStoreStealAndUse
executeTokenStoreStealAndUse steals a token, stores it, and immediately applies it
workflow/executor_credentials.go:147
↓ 1 callers
Method
executeTokenStoreUse
executeTokenStoreUse uses a token from the token store
workflow/executor_credentials.go:172
↓ 1 callers
Method
executeUnlink
executeUnlink disconnects from a named pipe or TCP beacon
workflow/executor_pivoting.go:55
↓ 1 callers
Method
executeUnsetPpid
executeUnsetPpid unsets the parent process ID for the specified beacon
workflow/executor_config.go:164
↓ 1 callers
Method
executeUnsetSpawnto
executeUnsetSpawnto unsets the spawn-to process for the specified beacon
workflow/executor_config.go:131
↓ 1 callers
Method
executeUpload
executeUpload uploads a file to the beacon's current working directory
workflow/executor.go:1060
↓ 1 callers
Method
interpolateAction
interpolateAction replaces ${action_name} variables with action outputs
workflow/executor.go:628
↓ 1 callers
Method
interpolateString
interpolateString replaces ${action_name} variables with outputs
workflow/executor.go:649
↓ 1 callers
Method
logJSON
(level LogLevel, message string)
logger/logger.go:114
↓ 1 callers
Method
logText
(level LogLevel, message string)
logger/logger.go:102
↓ 1 callers
Function
packBinaryWithPrefix
packBinaryWithPrefix packs binary data with 4-byte BE length prefix Format: [length:4 BE][data...]
workflow/bof_packer.go:69
↓ 1 callers
Function
packInt
packInt packs a 32-bit integer in BIG-ENDIAN format (no length prefix) Format: [int:4 BE]
workflow/bof_packer.go:94
↓ 1 callers
Function
packShort
packShort packs a 16-bit short in BIG-ENDIAN format (no length prefix) Format: [short:2 BE]
workflow/bof_packer.go:123
↓ 1 callers
Function
packStringWithPrefix
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 callers
Function
packWideStringWithPrefix
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 callers
Function
parseLevel
(level string)
logger/logger.go:72
↓ 1 callers
Method
storeBeaconMetadata
storeBeaconMetadata stores beacon metadata in outputs map for condition evaluation
workflow/executor.go:1395
↓ 1 callers
Method
validateAction
validateAction validates a single action
workflow/validator.go:108
↓ 1 callers
Method
validateBOFAction
validateBOFAction validates BOF-specific parameters
workflow/validator.go:1133
↓ 1 callers
Method
validateVariables
validateVariables checks for valid variable names and potential conflicts
workflow/validator.go:82
↓ 1 callers
Method
writeCSV
writeCSV writes result as CSV
output/formatter.go:85
↓ 1 callers
Method
writeJSON
writeJSON writes result as JSON
output/formatter.go:78
↓ 1 callers
Method
writeText
writeText writes result as human-readable text
output/formatter.go:121
Function
ActionIsSynchronous
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
Method
Fatal
Fatal logs an error message and exits
logger/logger.go:146
Function
TestPackBOFArguments
(t *testing.T)
workflow/bof_packer_test.go:8
← previous
next →
101–200 of 202, ranked by callers