Skip to main content
The VulHunt clients expose a set of commands to interact with projects, components, functions, and run rules. Below is a list of available commands, their descriptions, and usage examples.

Basic

CommandDescriptionUsage Example
%helpDisplay a help message with available commands%help, %help load
%outputRedirect output to the specified file. If no file is provided, output is restored to standard output%output log.txt
%clearClear the screen%clear
%quitQuit%quit
The %clear and %quit commands apply only to the VulHunt Shell.

Loading

CommandDescriptionUsage Example
%loadLoad a BA2 archive or binary file for analysis%load /path/to/file.ba2
%load_projectLoad a project from the currently loaded BA2 archive%load_project sha256=d627cf233957d5cd9201069202b7687f19c1af19430c8a0d1349247479714e73
%componentsList all components in the loaded BA2 archive%components
%unload_projectUnload the currently loaded project%unload_project
%unload_ba2Unload the currently loaded BA2 archive and associated data%unload_ba2

Analysis

CommandDescriptionUsage Example
%infoDisplay information about the loaded component%info
%functionsList functions in the loaded component%functions
%finfoDisplay information about a specific function%finfo function_name
%binfoDisplay information about a code block, including its instructions and control-flow edges%binfo 0xe8e0
%decompileDecompile a function to pseudocode by name or address%decompile function_name or %decompile 0x1A2B3C4D

Signatures

CommandDescriptionUsage Example
%list_signaturesList available signature files for the loaded component%list_signatures
%load_signaturesLoad a FLIRT signature file to identify functions%load_signatures /path/to/signature.sig
%unload_signaturesUnload the currently loaded signature file%unload_signatures

Type libraries

CommandDescriptionUsage Example
%list_typesList available type libraries for the loaded component%list_types
%load_typesLoad a type library to provide type information%load_types /path/to/types.lib
%unload_typesUnload the currently loaded type library%unload_types

Scanning

CommandDescriptionUsage Example
%lintCheck rule(s) syntax and style%lint /path/to/rules
%triggersDisplay all components that trigger the rule%triggers
%scanRun rule(s) against the loaded project or BA2 archive%scan /path/to/rules

Vulnerability Database (VDB)

CommandDescriptionUsage Example
%vdb_lookupRetrieve and display information about a specified CVE ID%vdb_lookup CVE-2025-12345
%vdb_searchSearch for known CVEs related to a specific product%vdb_search product="libssh"
%vdb_licensesSearch for licenses associated with a specific product%vdb_licenses product_name
%vdb_templateGenerate a finding template based on a CVE%vdb_template cve="CVE-2025-12345"