MCPcopy Create free account

hub / github.com/CykuTW/tsh-go / functions

Functions48 in github.com/CykuTW/tsh-go

↓ 19 callersMethodWrite
(p []byte)
internal/pel/pel.go:217
↓ 17 callersMethodClose
()
internal/pty/interface.go:8
↓ 11 callersFunctionNewPelError
(err int)
internal/pel/pel.go:65
↓ 10 callersMethodRead
(p []byte)
internal/pel/pel.go:270
↓ 8 callersFunctionCopyBuffer
(dst io.Writer, src io.Reader, buf []byte)
internal/utils/utils.go:10
↓ 4 callersMethodhashKey
(iv []byte)
internal/pel/pel.go:122
↓ 3 callersMethodreadConnUntilFilled
(p []byte)
internal/pel/pel.go:325
↓ 2 callersMethodAccept
()
internal/pel/pel.go:82
↓ 2 callersMethodClose
()
internal/pel/pel.go:213
↓ 2 callersFunctionDial
(address, secret string, isServer bool)
internal/pel/pel.go:102
↓ 2 callersMethodHandshake
exchange IV with client and setup the encryption layer return err if the packet read/write operation takes more than HandshakeRWTimeout (default: 3) s
internal/pel/pel.go:132
↓ 2 callersFunctionListen
(address, secret string, isServer bool)
internal/pel/pel.go:69
↓ 2 callersFunctionNewPktEncLayer
(conn net.Conn, secret string)
internal/pel/pel.go:53
↓ 2 callersMethodReadTimeout
(p []byte, timeout time.Duration)
internal/pel/pel.go:274
↓ 2 callersFunctiongetFileChecksum
(path string)
internal/pty/windows.go:111
↓ 2 callersFunctionhandleGeneric
entry handler, automatically close connection after handling it's safe to run with goroutine
internal/tshd/tshd.go:83
↓ 2 callersFunctionhandleGetFile
(layer *pel.PktEncLayer, srcfile, dstdir string)
internal/tsh/tsh.go:119
↓ 2 callersFunctionhandlePutFile
(layer *pel.PktEncLayer, srcfile, dstdir string)
internal/tsh/tsh.go:146
↓ 2 callersFunctionhandleRunShell
(layer *pel.PktEncLayer, command string)
internal/tsh/tsh.go:177
↓ 2 callersFunctionisFileNotExist
(path string)
internal/pty/windows.go:124
↓ 1 callersFunctionNewPktEncLayerListener
(address, secret string, isServer bool)
internal/pel/pel.go:40
↓ 1 callersFunctionOpenPty
(command, term string, ws_col, ws_row uint32)
internal/pty/windows.go:129
↓ 1 callersFunctionRun
()
internal/tsh/tsh.go:19
↓ 1 callersFunctionRun
()
internal/tshd/tshd.go:27
↓ 1 callersFunctionRunInBackground
()
internal/tshd/tshd.go:19
↓ 1 callersMethodStdIn
()
internal/pty/interface.go:6
↓ 1 callersMethodStdOut
()
internal/pty/interface.go:7
↓ 1 callersFunctiongetWinptyChecksum
()
internal/pty/windows.go:101
↓ 1 callersFunctionhandleGetFile
(layer *pel.PktEncLayer)
internal/tshd/tshd.go:103
↓ 1 callersFunctionhandlePutFile
(layer *pel.PktEncLayer)
internal/tshd/tshd.go:118
↓ 1 callersFunctionhandleRunShell
(layer *pel.PktEncLayer)
internal/tshd/tshd.go:134
↓ 1 callersMethodread
(p []byte)
internal/pel/pel.go:281
↓ 1 callersMethodreadConnUntilFilledTimeout
(p []byte, timeout time.Duration)
internal/pel/pel.go:338
↓ 1 callersFunctiontryDropWinpty
(dstdir string)
internal/pty/windows.go:70
↓ 1 callersMethodwrite
(p []byte)
internal/pel/pel.go:229
MethodAddr
()
internal/pel/pel.go:78
MethodClose
()
internal/pty/windows.go:37
MethodClose
()
internal/pty/linux.go:26
MethodClose
()
internal/pel/pel.go:74
FunctionOpenPty
(command, term string, ws_col, ws_row uint32)
internal/pty/linux.go:30
MethodStdIn
()
internal/pty/windows.go:29
MethodStdIn
()
internal/pty/linux.go:18
MethodStdOut
()
internal/pty/windows.go:33
MethodStdOut
()
internal/pty/linux.go:22
Functioninit
()
internal/tshd/tshd_windows.go:8
Functioninit
()
internal/pty/windows.go:41
Functionmain
()
cmd/tshd.go:5
Functionmain
()
cmd/tsh.go:5