Skip to main content

Shell mode

When in an interactive session, you can enter shell mode by typing !. Once in shell mode, you can run shell commands by typing them directly.
whoami
To exit shell mode, press the ESC key.

Execution modes

This makes your system vulnerable to . Only use this if you trust the codebase, or are running in a secure environment.
The CLI can run commands on behalf of the AI agent. To allow Hacktron to run commands, run the CLI with the --insecure flag.
hacktron --insecure
Each command will still require your explicit approval. To run commands automatically without approval, you can run the CLI with the --auto-exec flag.
hacktron --insecure --auto-exec