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

Method onecmd

impacket/examples/smbclient.py:95–103  ·  view source on GitHub ↗
(self,s)

Source from the content-addressed store, hash-verified

93 return line
94
95 def onecmd(self,s):
96 retVal = False
97 try:
98 retVal = cmd.Cmd.onecmd(self,s)
99 except Exception as e:
100 LOG.error(e)
101 LOG.debug('Exception info', exc_info=True)
102
103 return retVal
104
105 def do_exit(self,line):
106 if self.shell is not None:

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected