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

Method prepare

pager_lib/smb/smb_structs.py:1214–1216  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

1212 message.command = SMB_COM_DELETE
1213
1214 def prepare(self, message):
1215 message.parameters_data = struct.pack('<H', self.search_attributes)
1216 message.data = b'\x04' + self.filename_pattern.encode('UTF-16LE') + b'\0\0'
1217
1218
1219class ComCreateDirectoryRequest(Payload):

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected