MCPcopy
hub / github.com/apache/caldera / contact_caldera_server

Method contact_caldera_server

app/contacts/contact_ftp.py:190–194  ·  view source on GitHub ↗
(self, profile)

Source from the content-addressed store, hash-verified

188 await self.submit_uploaded_file(paw, filename, file_bytes)
189
190 async def contact_caldera_server(self, profile):
191 paw = profile.get('paw')
192 profile['paw'] = paw
193 profile['contact'] = profile.get('contact', 'ftp')
194 return await self.contact_svc.handle_heartbeat(**profile)
195
196 async def create_beacon_response(self, agent, instructions):
197 response = dict(paw=agent.paw,

Callers 1

handle_agent_fileMethod · 0.95

Calls 1

handle_heartbeatMethod · 0.45

Tested by

no test coverage detected