Demo

Last modified: September 25, 2021.

To setup Secure Logger and Browser (SLaB) and execute the demo programs (i.e., demo_program and browse).
NOTE: For more information about the demo_program see description in the demo_program.c file.
This demo was performed on Ubuntu Linux: $ uname -a -> “Linux ubuntu 5.4.0-86-generic #97~18.04.1-Ubuntu SMP |Sat Sep 18 03:11:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux”

[1] Download the TAR file SLaB_demo_r09252021.tar

[2] Extract the tar file: SLaB_demo_r09252021.tar

$ tar -xvf SLaB_demo_r09252021.tar
  SLaB_demo_home/LoggerSetup/
  SLaB_demo_home/LoggerSetup/LoggerSetupFile.txt
  SLaB_demo_home/demo_program.c
  SLaB_demo_home/demo_program
  SLaB_demo_home/browse
  SLaB_demo_home/LoggerSecureVault/
  SLaB_demo_home/LoggerSecureVault/LoggerMessageDefines.txt
  SLaB_demo_home/LoggerSecureVault/LoggerEncKeyIv.txt
  SLaB_demo_home/LoggerSecureVault/LoggerEncKey.txt
  SLaB_demo_home/LoggerSecureVault/Loggerpubkey.pem
  SLaB_demo_home/LoggerSecureVault/Loggerprikey.pem
  SLaB_demo_home/LoggerOutput/
  SLaB_demo_home/README.txt

[3] Execute the demo_program to generated protected/encoded log files

$ cd SLaB_demo_home
$ export LOGGER_HOME_PATH=./LoggerSetup
$ ./demo_program
  +====================================================================+
  |                                                                    |
  |The use of this SLaB libLogger.a is for limited                     |
  |demonstration purposes ONLY.                                        |
  |                                                                    |
  |Copyright 2013-2021 ISTECH.COM. All Rights Reserved. Patent Pending.|
  |                                                                    |
  +====================================================================+
  USAGE_INFO: LOGGER_HOME_PATH=./LoggerSetup
  USAGE_INFO: LOGGER_OUTPUT_PATH=./LoggerOutput
  USAGE_INFO: LOGGER_SECURE_VAULT_PATH=./LoggerSecureVault

[4] The protected/encoded files generated by demo_program program are

$ ls ./LoggerOutput
  09252021_07:03:35_001.efl
  LoggerEncKeyIv.txt.efl
  LoggerErrorMessages.txt 
  09252021_07:03:35_001.sfl
  LoggerEncKey.txt.efl

[5] Decrypt the protected/encoded files using the ./browse program

$ ./browse -i 09252021_07:03:35_001.efl
  +====================================================================+
  |                                                                    |
  |The use of this SLaB browse executable is for limited               |
  |demonstration purposes ONLY.                                        |
  |                                                                    |
  |Copyright 2013-2021 ISTECH.COM. All Rights Reserved. Patent Pending.|
  |                                                                    |
  +====================================================================+
  USAGE_INFO: LOGGER_HOME_PATH=./LoggerSetup
  USAGE_INFO: LOGGER_OUTPUT_PATH=./LoggerOutput
  USAGE_INFO: LOGGER_SECURE_VAULT_PATH=./LoggerSecureVault

[6] View the decrypted log file

$ ls ./LoggerOutput/*.log
        ./LoggerOutput/09252021_06:19:30_001.log
$ cat ./LoggerOutput/09252021_07:03:35_001.log
      09/25/2021 07:03:35 [1982] [DB] [FATAL] This message does not contain any arguments
      09/25/2021 07:03:35 [1982] [LG] [INFO] This message contains one integer=[12345]
      09/25/2021 07:03:35 [1982] [UI] [INFO] This message contains five integers=[11, 22, 33, 44, 55]
      09/25/2021 07:03:35 [1982] [DB] [INFO] This message contains one string=[One String]
      09/25/2021 07:03:35 [1982] [DB] [INFO] This message contains five strings=[One, Two, Three, Four, five]
      09/25/2021 07:03:35 [1982] [DB] [INFO] This message contains two integers and three strings=[999, 888, Six, Seven, Eight]

Your feedback is appreciated

Please send any feedback, comments or suggestions about this demo to SLaBsupport@istech.com.

Copyright 2013-2021 ISTECH.COM. All rights reserved. Patent Pending.