MCPcopy
hub / github.com/Pennyw0rth/NetExec / on_admin_login

Method on_admin_login

nxc/modules/ntds-dump-raw.py:133–141  ·  view source on GitHub ↗
(self, context, connection)

Source from the content-addressed store, hash-verified

131 return decompressed_bytes[:size]
132
133 def on_admin_login(self, context, connection):
134 self.host = connection.host
135 self.connection = connection
136 self.logger = context.log
137 self.execute = connection.execute
138 self.db = connection.db
139 self.domain = connection.domain
140 self.output_filename = connection.output_file_template.format(output_folder="ntds")
141 self.main()
142
143 def main(self):
144 first_section = self.read_from_disk(0, 1024)

Callers

nothing calls this directly

Calls 2

mainMethod · 0.95
formatMethod · 0.80

Tested by

no test coverage detected