MCPcopy Create free account
hub / github.com/evilsocket/shellz / Write

Method Write

plugins/tcp.go:57–63  ·  view source on GitHub ↗
(buf []byte)

Source from the content-addressed store, hash-verified

55}
56
57func (c *tcpClient) Write(buf []byte) tcpResponse {
58 wrote, err := c.con.Write(buf)
59 return tcpResponse{
60 Error: err,
61 Size: wrote,
62 }
63}
64
65func (c *tcpClient) Close() error {
66 return c.con.Close()

Callers 2

doWriteMethod · 0.80
toOutputFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected