Difference between revisions of "Truxton create investigation hashset"
Jump to navigation
Jump to search
(→Sample) |
|||
| Line 12: | Line 12: | ||
==<code>investigation_id</code>== | ==<code>investigation_id</code>== | ||
The string representation of a [https://en.wikipedia.org/wiki/Universally_unique_identifier globally unique identifier] of the investigation to export the hashes from. | The string representation of a [https://en.wikipedia.org/wiki/Universally_unique_identifier globally unique identifier] of the investigation to export the hashes from. | ||
| + | This corresponds to the <code>[ID]</code> column of the <code>[Investigation]</code> table. | ||
==<code>filename</code>== | ==<code>filename</code>== | ||
Latest revision as of 04:46, 2 June 2021
This will create a hash set file of every unique hash in an investigation.
Syntax
void truxton_create_investigation_hashset( uint64_t truxton_handle, char const * investigation_id, char const * filename );
Parameters
truxton_handle
The handle created by the truxton_create call.
investigation_id
The string representation of a globally unique identifier of the investigation to export the hashes from.
This corresponds to the [ID] column of the [Investigation] table.
filename
The name of the file where the hashes will be written.
Sample
void save_truxton_hash_set( char const * investigation_id )
{
char output_filename[ MAX_PATH ];
strcpy_s( output_filename, sizeof( output_filename ), "\\\\Server\\Hashsets\\Investigation_" );
strcat_s( output_filename, sizeof( output_filename ), investigation_id );
strcat_s( output_filename, sizeof( output_filename ), ".hashset" );
uint64_t truxton = truxton_create();
truxton_create_investigation_hashset( truxton, investigation_id, output_filename );
truxton_destroy( truxton );
}