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

Method do_shell

impacket/examples/smbclient.py:110–113  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

108 return True
109
110 def do_shell(self, line):
111 output = os.popen(line).read()
112 print(output)
113 self.last_output = output
114
115 def do_help(self,line):
116 print("""

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected