MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / set_security_descriptor

Method set_security_descriptor

windows/pipe.py:92–95  ·  view source on GitHub ↗
(self, sd)

Source from the content-addressed store, hash-verified

90 return windows.security.SecurityDescriptor.from_handle(self.handle)
91
92 def set_security_descriptor(self, sd):
93 if isinstance(sd, basestring):
94 sd = windows.security.SecurityDescriptor.from_string(sd)
95 sd._apply_to_handle_and_type(self.handle)
96
97 security_descriptor = property(get_security_descriptor, set_security_descriptor)
98

Callers

nothing calls this directly

Calls 2

from_stringMethod · 0.45

Tested by

no test coverage detected