Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles multiple sessions from a single listener.
func NewManager ¶
NewManager creates a session manager for the given listener.
func (*Manager) Accept ¶
Accept blocks until a new session arrives or the timeout expires. A zero timeout blocks indefinitely.
type Session ¶
type Session struct {
ID int
Conn net.Conn
RemoteAddr string
CreatedAt time.Time
// contains filtered or unexported fields
}
Session wraps a single reverse shell connection.
Click to show internal directories.
Click to hide internal directories.