Projects STRLCPY reverse_ssh Commits 58da1930
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    internal/server/commands/listen.go
    skipped 122 lines
    123 123   for c, sc := range foundClients {
    124 124   result, message, err := sc.SendRequest("tcpip-forward", true, b)
    125 125   if !result {
    126  - fmt.Fprintln(tty, "failed to start port on: ", c, ": ", message)
     126 + fmt.Fprintln(tty, "failed to start port on: ", c, ": ", string(message))
    127 127   continue
    128 128   }
    129 129   
    skipped 36 lines
    166 166   for c, sc := range foundClients {
    167 167   result, message, err := sc.SendRequest("cancel-tcpip-forward", true, b)
    168 168   if !result {
    169  - fmt.Fprintln(tty, "failed to stop port on: ", c, ": ", message)
     169 + fmt.Fprintln(tty, "failed to stop port on: ", c, ": ", string(message))
    170 170   continue
    171 171   }
    172 172   
    skipped 51 lines
  • ■ ■ ■ ■ ■
    internal/server/handlers/forwardserverport.go
    skipped 64 lines
    65 65  }
    66 66   
    67 67  func channelToConn(channel ssh.Channel, drtMsg internal.ChannelOpenDirectMsg) net.Conn {
     68 + 
    68 69   return &chanConn{channel, drtMsg}
    69 70  }
    70 71   
    skipped 59 lines
Please wait...
Page is in error, reload to recover