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

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