MCPcopy
hub / github.com/USArmyResearchLab/Dshell / write

Method write

dshell/core.py:177–186  ·  view source on GitHub ↗

Sends information to the output formatter, after adding some additional fields.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

175 self._packet_fragments = defaultdict(dict)
176
177 def write(self, *args, **kwargs):
178 """
179 Sends information to the output formatter, after adding some
180 additional fields.
181 """
182 if 'plugin' not in kwargs:
183 kwargs['plugin'] = self.name
184 if 'pcapfile' not in kwargs:
185 kwargs['pcapfile'] = self.current_pcap_file
186 self.out.write(*args, **kwargs)
187
188 def log(self, msg, level=logging.INFO):
189 """

Callers 1

decompress_fileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected