Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fortra/impacket
/ do_shell
Method
do_shell
examples/smbexec.py:233–234 ·
view source on GitHub ↗
(self, s)
Source
from the content-addressed store, hash-verified
231
pass
232
233
def
do_shell(self, s):
234
os.system(s)
235
236
def
do_exit(self, s):
237
return
True
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected