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

Method send_data

examples/psexec.py:572–578  ·  view source on GitHub ↗
(self, data, hideOutput = True)

Source from the content-addressed store, hash-verified

570 self.send_data(line.decode(sys.stdin.encoding).encode(CODEC)+'\r\n')
571
572 def send_data(self, data, hideOutput = True):
573 if hideOutput is True:
574 global LastDataSent
575 LastDataSent = data
576 else:
577 LastDataSent = ''
578 self.server.writeFile(self.tid, self.fid, data)
579
580class RemoteStdInPipe(Pipes):
581 def __init__(self, transport, pipe, permisssions, share=None):

Callers 7

do_helpMethod · 0.95
do_shellMethod · 0.95
do_lgetMethod · 0.95
do_lputMethod · 0.95
do_lcdMethod · 0.95
emptylineMethod · 0.95
defaultMethod · 0.95

Calls 1

writeFileMethod · 0.45

Tested by

no test coverage detected