Skip to main content

Module actions

Module actions 

Source
Expand description

Reverse-shell listener actions.

This protocol emulates the operator side of a reverse shell for authorized security testing, CTF and lab work: NetGet is the listener an operator connects back to, and the LLM plays the role of the shell on the far end, deciding what each command “prints”. NetGet never executes the operator’s commands on this host — the model supplies the pretend output, which is the whole NetGet premise and also the safe default. See src/server/reverse_shell/CLAUDE.md.

Structs§

ReverseShellProtocol
Reverse-shell listener protocol handler.

Constants§

DEFAULT_PROMPT
Prompt used when the model asks for a prompt without supplying its own text.

Statics§

END_SHELL_SESSION_ACTION
NO_SHELL_OUTPUT_ACTION
REVERSE_SHELL_COMMAND_EVENT
Raised for each newline-terminated command line the operator sends.
REVERSE_SHELL_SESSION_OPENED_EVENT
Raised once when an operator connects to the listener.
SEND_SHELL_OUTPUT_ACTION
SEND_SHELL_PROMPT_ACTION

Functions§

get_reverse_shell_event_types
All event types this protocol can emit.