7.9. Other Wrapped Scripts

These scripts all have Windows and Unix equivalent wrapper scripts in TOOL_PATH that execute python against a script of the same name under TOOL_PATHscripts.

7.9.1. crypt_value

Used to produce a ciphered value that can be used to store an obfuscated Tanium username and/or password in the configuration file.

Will prompt the user to enter a value, then print out a cipherd value. Copy and paste the ciphered value into your configuration file to obfuscate the stored value.

1
2
3
4
5
6
7
# from the root directory of Tanium HAT

# Windows Wrapper
$ crypt_value.bat

# OS X Wrapper
$ ./crypt_value.sh

7.9.2. generate_config

Used to generate a configuration file with inline comments describing each entry for each section.

By default this script prints to standard out, so to save the generated configuration file you need to redirect the output to a file like so:

1
2
3
4
5
6
7
# from the root directory of Tanium HAT

# Windows Wrapper
$ generate_config.bat > new_config.ini

# OS X Wrapper
$ ./generate_config.sh > new_config.ini

7.9.3. generate_layout

Used to generate a sample slide layout definition file that controls what content goes where in a PPTX file.

By default this script prints to standard out, so to save the generated layout file you need to redirect the output to a file like so:

1
2
3
4
5
6
7
# from the root directory of Tanium HAT

# Windows Wrapper
$ generate_layout.bat -p c:\path\some.pptx > new_layout.py

# OS X Wrapper
$ ./generate_layout.sh -p /path/some.pptx > new_layout.py