MCPcopy Create free account
hub / github.com/fortra/impacket / do_shell

Method do_shell

examples/ntfs-read.py:1258–1261  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

1256 return True
1257
1258 def do_shell(self, line):
1259 output = os.popen(line).read()
1260 print(output)
1261 self.last_output = output
1262
1263 def do_help(self,line):
1264 print("""

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected