Difference between revisions of "Truxton create investigation hashset"
Jump to navigation
Jump to search
(Created page with "This will create a hash set file of every unique hash in an investigation. =Syntax= <source lang="C"> void truxton_create_investigation_hashset( uint64_t truxton...") |
(→Sample) |
||
| Line 23: | Line 23: | ||
strcpy_s( output_filename, sizeof( output_filename ), "\\\\Server\\Hashsets\\Investigation_" ); | strcpy_s( output_filename, sizeof( output_filename ), "\\\\Server\\Hashsets\\Investigation_" ); | ||
| − | strcat_s( output_filename, sizeof( output_filename ), | + | strcat_s( output_filename, sizeof( output_filename ), investigation_id ); |
strcat_s( output_filename, sizeof( output_filename ), ".hashset" ); | strcat_s( output_filename, sizeof( output_filename ), ".hashset" ); | ||
Revision as of 11:42, 1 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.
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 );
}