MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / SetData

Method SetData

AdaptixServer/core/server/utils.go:91–95  ·  view source on GitHub ↗
(data adaptix.AgentData)

Source from the content-addressed store, hash-verified

89}
90
91func (a *Agent) SetData(data adaptix.AgentData) {
92 a.mu.Lock()
93 defer a.mu.Unlock()
94 a.data = data
95}
96
97func (a *Agent) UpdateData(fn func(*adaptix.AgentData)) {
98 a.mu.Lock()

Callers 2

RestoreDataMethod · 0.95
TsAgentCreateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected