Truxton tag hash

From truxwiki.com
Jump to navigation Jump to search

This tags all files in Truxton with contents matching the given MD5 hash. It makes an entry in the [Tagged] table.

Syntax

void truxton_tag_hash( uint64_t truxton_handle, char const * hash, char const * tag_name, char const * tag_description );

Parameters

truxton_handle

The handle created by the truxton_create call.

hash

The string containing the MD5 hash to tag.

tag_name

The name of the tag as it will appear in the user interface. This is the string you will use to tag something (like a file or event) in Truxton. This corresponds to the [Name] column of the [Tag] table.

tag_description

A longer description of the tag. This corresponds to the [Description] column of the [Tag] table.

Sample

void tag_malware( uint64_t truxton )
{
   truxton_tag_hash( truxton, "D244534C9AC225E8B9F567B74D4D13B9", "CVE-9901", "Uber bad code" );
}