qbinaudit

Compare binaries to the officially distributed versions (BlackBerry 10 OS)

Syntax:

qbinaudit [options] [manifest_filename]

Options:

-s
Be silent; don't display dots to indicate the audit's progress.
-v
Be verbose; display the name of each file processed.
manifest_filename
The name of the manifest file that describes the binaries to audit.

You can specify the name of the manifest filename on the command line. If you don't, the script looks in the known installation location of the manifest files and prompts you to select one.

Description:

The qbinaudit script parses the chosen manifest file to retreive the checksum value and filename for each binary. It then regenerates the binary file's CRC32 checksum and compares it to the one in the manifest file.

If there's a difference, the name of the binary filename is listed on stdout, indicating that this binary doesn't match the version from the officially distributed QNX release.

Examples:

# qbinaudit
Select a manifest file using the prefixed selection number in the square brackets.
[1]: manifest-base
[2]: manifest-sdk-host
[3]: manifest-sdk-ide
[4]: manifest-sdk-target
[5]: manifest-target-gpl
[6]: manifest-target-htmldocs
Select? 1
**** Processing /usr/qnx640//install/qnxsdp/6.4.0/manifest-base
.......................................................................
.......................
Chksum diff: 2187478658 vs 4168080167 /etc/system/config/display.conf
.......................................................................
.......................................................................
..................
Chksum diff: 1717030851 vs 3179076788 /opt/mozilla/firefox/bin/components/xpti.dat
Chksum diff: 3527685377 vs 1769584334 /opt/mozilla/firefox/bin/components/compreg.dat
.......................................................................
.......................................................................
..................
Chksum diff: 652769104 vs 452256802 /usr/lib/ldqnx.so.2
.......................................................................
.......................................................................
.......................................................................
.....................
**** Completed ****

Last modified: 2013-12-21

comments powered by Disqus