MCPcopy Create free account

hub / github.com/cxnturi0n/convoC2 / functions

Functions46 in github.com/cxnturi0n/convoC2

↓ 22 callersMethodRender
(w io.Writer, m list.Model, index int, listItem list.Item)
pkg/server/tui/definitions.go:68
↓ 4 callersFunctionWaitForAgent
(agentChan chan server.Agent)
pkg/server/tui/definitions.go:83
↓ 2 callersFunctionfileBytesToString
(filePath string)
pkg/agent/utility.go:55
↓ 2 callersFunctiongetCurrentUser
()
pkg/agent/utility.go:87
↓ 2 callersFunctionpostToWebhook
(bodyBytes []byte, webhookURL string)
pkg/agent/communication.go:137
↓ 2 callersFunctionprepareWebhookPayload
(encodedResult string, serverURL string)
pkg/agent/communication.go:94
↓ 2 callersFunctionrandom
()
pkg/agent/utility.go:100
↓ 2 callersFunctionserializeAndEncodeResult
(result interface{})
pkg/agent/communication.go:82
↓ 1 callersFunctionCheckAuth
(chatUrl string, authToken string)
pkg/server/execution.go:110
↓ 1 callersFunctionExecuteCmdPostRequestWithMessageAndCommand
(chatUrl string, authToken string, message string, command string, commandResponsesChan chan CommandResponse)
pkg/server/execution.go:22
↓ 1 callersFunctionGetChatUrl
(victimId string, attackerId string, token string)
pkg/server/execution.go:179
↓ 1 callersFunctionInitialModel
()
pkg/server/tui/definitions.go:89
↓ 1 callersFunctionStart
Main Agent logic
pkg/agent/agent.go:29
↓ 1 callersFunctionStartHttpListener
(agentChan chan Agent, commandResponsesChan chan CommandResponse)
pkg/server/listener.go:32
↓ 1 callersFunctioncleanCommandOutput
(output string)
pkg/server/execution.go:184
↓ 1 callersFunctioncleanUpOldCommands
(commandRegex *regexp.Regexp, logPath string, logFileAsString string)
pkg/agent/execution.go:52
↓ 1 callersFunctioncontains
(agents []server.Agent, agent server.Agent)
pkg/server/tui/tui.go:105
↓ 1 callersFunctioncreateChatThread
(victimId string, attackerId string, token string)
pkg/server/execution.go:134
↓ 1 callersFunctioncreateMessageBody
(message string, command string)
pkg/server/execution.go:37
↓ 1 callersFunctionemptyChannel
(ch chan CommandResponse)
pkg/server/execution.go:100
↓ 1 callersFunctionexecCommand
(command string)
pkg/agent/execution.go:17
↓ 1 callersFunctionfindLogDir
()
pkg/agent/find.go:11
↓ 1 callersFunctionfindLogFiles
(logDirPath string)
pkg/agent/find.go:45
↓ 1 callersFunctiongetAgentID
()
pkg/agent/utility.go:17
↓ 1 callersFunctiongetCommandResponse
(commandResponsesChan chan CommandResponse)
pkg/server/execution.go:84
↓ 1 callersFunctiongetCurrentUserFull
()
pkg/agent/utility.go:78
↓ 1 callersFunctiongetHostname
()
pkg/agent/utility.go:70
↓ 1 callersFunctiongetMACAddress
()
pkg/agent/utility.go:40
↓ 1 callersMethodhandleCmdSession
(enteredCommand string)
pkg/server/tui/handler.go:93
↓ 1 callersMethodhandleRegularCommands
(enteredCommand string)
pkg/server/tui/handler.go:9
↓ 1 callersMethodinit
()
pkg/agent/agent.go:14
↓ 1 callersMethodnotifyServer
(webhookURL string, serverURL string)
pkg/agent/communication.go:27
↓ 1 callersFunctionreadCommand
(logFileAsString string, commandRegex *regexp.Regexp)
pkg/agent/execution.go:41
↓ 1 callersFunctionsendPostRequest
(chatUrl string, authToken string, bodyBytes []byte)
pkg/server/execution.go:62
↓ 1 callersMethodsendResultToServer
(commandOutput CommandOutput, webhookURL string, serverURL string)
pkg/agent/communication.go:53
MethodFilterValue
()
pkg/server/tui/definitions.go:50
MethodHeight
()
pkg/server/tui/definitions.go:65
MethodInit
()
pkg/server/tui/tui.go:11
MethodSpacing
()
pkg/server/tui/definitions.go:66
MethodUpdate
(msg tea.Msg)
pkg/server/tui/tui.go:15
MethodUpdate
(_ tea.Msg, _ *list.Model)
pkg/server/tui/definitions.go:67
MethodView
()
pkg/server/tui/tui.go:77
Functioninit
()
cmd/server/main.go:13
Functioninit
()
cmd/agent/main.go:20
Functionmain
()
cmd/server/main.go:21
Functionmain
()
cmd/agent/main.go:34