MCPcopy
hub / github.com/ph4ntonn/Stowaway / ShowNodeHelp

Function ShowNodeHelp

admin/cli/cli.go:43–65  ·  view source on GitHub ↗

ShowNodeHelp 打印node模式下的帮助

()

Source from the content-addressed store, hash-verified

41
42// ShowNodeHelp 打印node模式下的帮助
43func ShowNodeHelp() {
44 fmt.Print(`
45 help Show help information
46 listen Start port listening on current node
47 addmemo <string> Add memo for current node
48 delmemo Delete memo of current node
49 ssh <ip:port> Start SSH through current node
50 shell Start an interactive shell on current node
51 socks <lport> [username] [pass] Start a socks5 server
52 stopsocks Shut down socks services
53 connect <ip:port> Connect to a new node
54 sshtunnel <ip:sshport> <agent port> Use sshtunnel to add the node into our topology
55 upload <local filename> <remote filename> Upload file to current node
56 download <remote filename> <local filename> Download file from current node
57 forward <lport> <ip:port> Forward local port to specific remote ip:port
58 stopforward Shut down forward services
59 backward <rport> <lport> Backward remote port(agent) to local port(admin)
60 stopbackward Shut down backward services
61 shutdown Terminate current node
62 back Back to parent panel
63 exit Exit Stowaway
64 `)
65}

Callers 4

expectParamsMethod · 0.85
expectParamsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected