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.
func (*Session) Interact ¶
func (s *Session) Interact()
Interact takes over stdin/stdout for interactive shell access. Ctrl+Z (SIGTSTP) backgrounds the session and returns.
func (*Session) InteractTUI ¶ added in v0.3.0
func (s *Session) InteractTUI()
Interact takes over stdin/stdout for interactive shell access. Ctrl+Z (SIGTSTP) backgrounds the session and returns. InteractTUI is like Interact but clears the screen first (used when resuming from TUI).
Click to show internal directories.
Click to hide internal directories.