-
Notifications
You must be signed in to change notification settings - Fork 2
Workspace Instructions
This page documents the interactive workspace menu and command groups you use after startup.
If you are still setting up authentication, start with Authentication Reference first.
| Command Group | Purpose | Common Subcommands |
|---|---|---|
creds |
Inspect/swap credentials |
me, me-full, list, list-full, db-row, swap
|
modules |
Discover and execute modules |
list, search, info, run
|
compartments |
Manage scan target scope |
list, add, set, rm
|
data |
Export/query/wipe local SQLite data |
export, sql, wipe-service
|
configs |
Workspace runtime defaults |
list, set, unset, regions list, auth-tokens
|
oci |
Pass-through OCI CLI execution | oci <args...> |
help, ?, exit, quit
|
Session control | n/a |
-
creds me- Show active credential summary.
-
creds me-full- Show active credential including sensitive fields.
-
creds list- List all credentials in workspace.
-
creds list-full- List all credentials including sensitive fields.
-
creds db-row [credname]- Print raw stored credential JSON for one credential.
-
creds swap [credname]- Swap active credential (interactive picker if omitted).
-
modules list- List available modules.
-
modules search <keyword>- Search module names/descriptions.
-
modules info <module_name>- Show a module's category, service, and info blurb.
-
modules run <module_name> [module args...]- Run any module with module-specific flags.
Example:
modules run enum_all --comp --download-
compartments list- Print known tenancy/compartment tree.
-
compartments add <compartment_ocid>- Add a compartment to known list.
-
compartments set [<compartment_ocid>]- Set current compartment. If omitted, an interactive picker opens.
-
compartments rm <compartment_ocid>- Remove a known compartment from the local list.
-
data export <csv|json|excel|treeimage> [--out-dir ...] [--out-file ...]- Export service DB data and hierarchy artifacts.
excelrequires the optional[excel]extra (pip install "ocinferno[excel]");csv/json/treeimagework in the base install.
- Export service DB data and hierarchy artifacts.
-
data sql --db <service|metadata> "<SQL>"- Query SQLite directly.
-
data wipe-service [--all-workspaces] [--yes]- Delete rows from service DB tables (with confirmation by default).
Example:
data sql --db service "SELECT * FROM identity_policies LIMIT 20"Use configs to control workspace defaults and runtime behavior.
-
configs list- Show all config keys and effective values.
-
configs set <key> <value>- Set a config value.
-
configs unset <key>- Reset a key to its default.
-
configs regions list- List known OCI regions. Current default region is highlighted.
-
configs auth-tokens list- Show OCI IAM auth tokens stored in the workspace for the active credential's user. Auth
tokens are used by modules that perform HTTPS git operations (e.g.
exploit_devops_pipelines_rpst,exploit_devops_repositories_download) as an alternative to auto-creating temporary tokens.
- Show OCI IAM auth tokens stored in the workspace for the active credential's user. Auth
tokens are used by modules that perform HTTPS git operations (e.g.
-
configs auth-tokens add --token-id <id> --token-value <val>- Store an existing auth token by its IAM token ID and secret value. The token must already
exist in OCI IAM (create it via the OCI Console or
oci iam auth-token create). Storing it here lets exploit modules reuse it without consuming your 2-token-per-user quota for each run.
- Store an existing auth token by its IAM token ID and secret value. The token must already
exist in OCI IAM (create it via the OCI Console or
-
configs auth-tokens delete --token-id <id>- Remove a stored auth token from the workspace by its IAM token ID. This only removes the local record; it does not delete the token from OCI IAM.
| Key | Purpose | Allowed Values | Default |
|---|---|---|---|
proxy |
Global HTTP(S) proxy for module runs without explicit run proxy. | URL / host:port | None |
current_default_region |
Workspace default OCI region. | OCI region string | "" |
module_auto_save |
Legacy config key; enumeration always persists to the DB as it runs regardless of this value. |
true, false
|
true |
rate_limit_seconds |
Base delay between API calls. | non-negative float | 0.0 |
rate_limit_jitter_seconds |
Jitter added to base rate limit. | non-negative float | 0.0 |
api_logging_enabled |
Enable API telemetry logging. |
true, false
|
false |
api_logging_file_path |
Override telemetry log file path. | filesystem path | auto path under ./ocinferno_output/<workspace>/tool_logs/
|
api_logging_verbosity |
Telemetry detail level. |
basic, standard, verbose
|
standard |
api_logging_attributes |
CSV list of telemetry fields to emit. | comma-separated attributes | built-in default attribute set |
std_output_format |
Terminal output rendering style. |
table, txt
|
table |
Notes:
- Unknown values for
current_default_regionare accepted with a warning (supports private/dedicated regions). - Legacy key alias
current_regionis still accepted and mapped tocurrent_default_region.
- Modules always persist their results to local SQLite as they enumerate — there is no
--save/--no-saveopt-in flag. - Because of that persistence, some module workflows can rely on previously saved data/cache if an initial list/discovery call fails (module-dependent behavior).
- If you need to target a specific resource directly, many modules support explicit OCID flags in the form
--<resource_name> <ocid>. - Always check the module definition/flags for exact supported parameter names before running (
modules list, module source, or module help output).
You can run raw OCI CLI commands directly from OCInferno:
oci iam policy list --compartment-id <tenancy_ocid> --allThis executes the local oci binary outside of ocinferno.
configs set current_default_region us-phoenix-1
configs set api_logging_enabled true
configs set api_logging_verbosity standardSet a workspace default proxy for all module runs:
configs set proxy http://127.0.0.1:8080
configs listOverride proxy for only one run:
modules run enum_identity --proxy http://127.0.0.1:8080Disable the workspace default proxy later:
configs unset proxycompartments list
compartments set
modules run enum_all --comp
data sql --db service "SELECT * FROM identity_policies LIMIT 20"data export json
data export excel
data export treeimageHome | Getting Started | Auth | Workspace | Orchestration Modules | Downloads to Disk | Data View/Export | Operator Runbook | Troubleshooting and FAQ | OpenGraph - Node/Edge Tables | OpenGraph - Default Priv Escalation Mode | OpenGraph - IAM Conditionals | OpenGraph - Inheritance & IncludeAll | ConfigChecker - Static Config Checks | Module Development Guide
- Authentication Reference
- Workspace Instructions
- Orchestration Module Reference
- Enumeration Module Reference
- Exploit Module Reference
- Downloads to Disk
- Data View/Export
- Troubleshooting and FAQ