Shell
The following shell interface is provided to facilitate exploitation of CBXP by shell callers.
The Shell Interface for CBXP downloaded from GitHub.
Wherever you Install/Extract the CBXP Pax File, make sure to add the path to the
bindirectory where thecbxpexecutable resides toPATHin/etc/profile(global) or~/.profile/~/.bashrc(local/individual).
📄 Description
Extract Control Blocks from Live Memory (storage), post-process them into JSON, and write the result JSON to the stdout file descriptor.
cbxp [options] [CONTROL_BLOCK]
-
-d,--debug
Print Debug Messages. -
-i,--include <pattern>
Include control blocks that are Accessible from the Root Control Block being extracted using an Include Pattern. -
-v,--version
Display Version Information. -
-h,--help
Display Usage Information.
💻 Examples
The following example extracts the PSA control block and prints Debug Messages.
Shell Script
cbxp -d psa
The following example extracts the CVT, includes the ECVT and the ASVT, and includes all Known Control Blocks that are pointed to directly by the ASVT.
Shell Script
cbxp -i ecvt -i 'asvt.*' cvt
The followng example extracts all ASCB control blocks and pipes the output into jq to Format the JSON output.
Shell Script
cbxp ascb | jq