MCPcopy Index your code
hub / github.com/evilsocket/shellz / String

Method String

models/proxy.go:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func (p Proxy) String() string {
21 host := net.JoinHostPort(p.Address, strconv.Itoa(p.Port))
22 if p.Username != "" {
23 return fmt.Sprintf("%s:%s@%s", p.Username, p.Password, host)
24 }
25 return host
26}

Callers 10

startMethod · 0.45
forwardMethod · 0.45
ExecMethod · 0.45
NewSSHFunction · 0.45
ExecMethod · 0.45
toOutputFilenameFunction · 0.45
cmdWorkerFunction · 0.45
tunWorkerFunction · 0.45
showShellsListFunction · 0.45
RequestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected