MCPcopy
hub / github.com/dronesploit/dronesploit / _get_sysinfo

Method _get_sysinfo

dronesploit/drones/hobbico.py:44–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42 self._feedback(r, "Datetime not changed")
43
44 def _get_sysinfo(self):
45 self.logger.info("Requesting system information...")
46 self._feedback(self.send_command(0, -1), "System info not retrieved")
47 r = (self._last_cmd_resp or {}).get('PARAM')
48 if r:
49 return yaml.dump(r)
50
51 def _power_off(self):
52 self.logger.info("Shutting down the target...")

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls 1

send_commandMethod · 0.80

Tested by

no test coverage detected