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

Method do_shell

examples/psexec.py:506–508  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

504 self.send_data('\r\n', False)
505
506 def do_shell(self, s):
507 os.system(s)
508 self.send_data('\r\n')
509
510 def do_lget(self, src_path):
511 try:

Callers

nothing calls this directly

Calls 1

send_dataMethod · 0.95

Tested by

no test coverage detected