cas-inspect tool

The KasperskyOS Community Edition is delivered with the cas-inspect tool (toolchain/bin/cas-inspect executable file), which lets you get information about the contents of KPA package when working with SDK.

Syntax of the shell command for running the cas-inspect tool:

cas-inspect [-h|--help] [--version] {-i|--input} <PACKAGE> --verify

[<COMMAND>] [-o <path>]

Parameters:

Examples of shell commands for running the cas-inspect tool:

# Prints the KPA package manifest and information about

# KPA package components.

cas-inspect -i helloworld.kpa

# Prints the KPA package manifest and information about

# KPA package components to the console, and verifies the availability of the KPA package components

# specified in the manifest and the checksums of

# KPA package components.

cas-inspect -i helloworld.kpa --verify

# Prints the KPA package manifest to a file.

cas-inspect -i helloworld.kpa read manifest -o ./manifest

# Prints the contents of the KPA package component with the defined

# checksum to a file.

cas-inspect -i helloworld.kpa read 5d8071308518a7bb003aa084fc995

d2f09b79e9e52f8cd296cb3ee2644ad3951 -o ./comp

# Prints the contents of each KPA package component to a separate file.

cas-inspect -i helloworld.kpa read blobs -o .

# Prints information about KPA package components to the console.

cas-inspect -i helloworld.kpa list

Page top