MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / to_dict

Method to_dict

irc_dpi.py:69–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 raw: str
68
69 def to_dict(self) -> Dict[str, Any]:
70 return {
71 'ts': datetime.fromtimestamp(self.ts).isoformat(),
72 'direction': self.direction,
73 'prefix': self.prefix,
74 'command': self.command,
75 'params': self.params,
76 'raw': self.raw[:500],
77 }
78
79
80@dataclass

Callers 8

deep_scan_hostFunction · 0.45
get_recon_statusFunction · 0.45
get_recon_scanFunction · 0.45
to_dictMethod · 0.45
get_sessionsMethod · 0.45
get_sessionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected