Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cxnturi0n/convoC2
/ functions
Functions
46 in github.com/cxnturi0n/convoC2
⨍
Functions
46
◇
Types & classes
11
↓ 22 callers
Method
Render
(w io.Writer, m list.Model, index int, listItem list.Item)
pkg/server/tui/definitions.go:68
↓ 4 callers
Function
WaitForAgent
(agentChan chan server.Agent)
pkg/server/tui/definitions.go:83
↓ 2 callers
Function
fileBytesToString
(filePath string)
pkg/agent/utility.go:55
↓ 2 callers
Function
getCurrentUser
()
pkg/agent/utility.go:87
↓ 2 callers
Function
postToWebhook
(bodyBytes []byte, webhookURL string)
pkg/agent/communication.go:137
↓ 2 callers
Function
prepareWebhookPayload
(encodedResult string, serverURL string)
pkg/agent/communication.go:94
↓ 2 callers
Function
random
()
pkg/agent/utility.go:100
↓ 2 callers
Function
serializeAndEncodeResult
(result interface{})
pkg/agent/communication.go:82
↓ 1 callers
Function
CheckAuth
(chatUrl string, authToken string)
pkg/server/execution.go:110
↓ 1 callers
Function
ExecuteCmdPostRequestWithMessageAndCommand
(chatUrl string, authToken string, message string, command string, commandResponsesChan chan CommandResponse)
pkg/server/execution.go:22
↓ 1 callers
Function
GetChatUrl
(victimId string, attackerId string, token string)
pkg/server/execution.go:179
↓ 1 callers
Function
InitialModel
()
pkg/server/tui/definitions.go:89
↓ 1 callers
Function
Start
Main Agent logic
pkg/agent/agent.go:29
↓ 1 callers
Function
StartHttpListener
(agentChan chan Agent, commandResponsesChan chan CommandResponse)
pkg/server/listener.go:32
↓ 1 callers
Function
cleanCommandOutput
(output string)
pkg/server/execution.go:184
↓ 1 callers
Function
cleanUpOldCommands
(commandRegex *regexp.Regexp, logPath string, logFileAsString string)
pkg/agent/execution.go:52
↓ 1 callers
Function
contains
(agents []server.Agent, agent server.Agent)
pkg/server/tui/tui.go:105
↓ 1 callers
Function
createChatThread
(victimId string, attackerId string, token string)
pkg/server/execution.go:134
↓ 1 callers
Function
createMessageBody
(message string, command string)
pkg/server/execution.go:37
↓ 1 callers
Function
emptyChannel
(ch chan CommandResponse)
pkg/server/execution.go:100
↓ 1 callers
Function
execCommand
(command string)
pkg/agent/execution.go:17
↓ 1 callers
Function
findLogDir
()
pkg/agent/find.go:11
↓ 1 callers
Function
findLogFiles
(logDirPath string)
pkg/agent/find.go:45
↓ 1 callers
Function
getAgentID
()
pkg/agent/utility.go:17
↓ 1 callers
Function
getCommandResponse
(commandResponsesChan chan CommandResponse)
pkg/server/execution.go:84
↓ 1 callers
Function
getCurrentUserFull
()
pkg/agent/utility.go:78
↓ 1 callers
Function
getHostname
()
pkg/agent/utility.go:70
↓ 1 callers
Function
getMACAddress
()
pkg/agent/utility.go:40
↓ 1 callers
Method
handleCmdSession
(enteredCommand string)
pkg/server/tui/handler.go:93
↓ 1 callers
Method
handleRegularCommands
(enteredCommand string)
pkg/server/tui/handler.go:9
↓ 1 callers
Method
init
()
pkg/agent/agent.go:14
↓ 1 callers
Method
notifyServer
(webhookURL string, serverURL string)
pkg/agent/communication.go:27
↓ 1 callers
Function
readCommand
(logFileAsString string, commandRegex *regexp.Regexp)
pkg/agent/execution.go:41
↓ 1 callers
Function
sendPostRequest
(chatUrl string, authToken string, bodyBytes []byte)
pkg/server/execution.go:62
↓ 1 callers
Method
sendResultToServer
(commandOutput CommandOutput, webhookURL string, serverURL string)
pkg/agent/communication.go:53
Method
FilterValue
()
pkg/server/tui/definitions.go:50
Method
Height
()
pkg/server/tui/definitions.go:65
Method
Init
()
pkg/server/tui/tui.go:11
Method
Spacing
()
pkg/server/tui/definitions.go:66
Method
Update
(msg tea.Msg)
pkg/server/tui/tui.go:15
Method
Update
(_ tea.Msg, _ *list.Model)
pkg/server/tui/definitions.go:67
Method
View
()
pkg/server/tui/tui.go:77
Function
init
()
cmd/server/main.go:13
Function
init
()
cmd/agent/main.go:20
Function
main
()
cmd/server/main.go:21
Function
main
()
cmd/agent/main.go:34