Difference between revisions of "Truxton C API"

From truxwiki.com
Jump to navigation Jump to search
Line 91: Line 91:
 
* [[truxton_child_file_get_disk_offset]] - Retrieves the physical disk offset of the first byte of contents
 
* [[truxton_child_file_get_disk_offset]] - Retrieves the physical disk offset of the first byte of contents
 
* [[truxton_child_file_get_entropy]] - Retrieves the [https://en.wikipedia.org/wiki/Entropy_(information_theory) entropy] of the file contents
 
* [[truxton_child_file_get_entropy]] - Retrieves the [https://en.wikipedia.org/wiki/Entropy_(information_theory) entropy] of the file contents
 +
* [[truxton_child_file_create_artifact]] -
 +
* [[truxton_child_file_create_event]] -
 +
* [[truxton_child_file_create_exif]] -
 +
* [[truxton_child_file_create_location]] -
 +
* [[truxton_child_file_create_relation]] -
 +
* [[truxton_child_file_create_url]] -
 +
* [[truxton_child_file_create_usb]] -
 +
* [[truxton_child_file_tag]] -
 +
* [[truxton_child_file_new_child]] - Creates a child of this file
  
 
==File IO==
 
==File IO==

Revision as of 11:31, 8 June 2020

Truxton functionality is exposed to the C programming world as a DLL named TruxtonCAPI.dll in the C:\Program Files\Truxton\SDK folder. This DLL can be called from any programming language that has the ability to make operating system calls.

Philosophy

The API is considered to be "flat" in that only sixty-four bit integers and ASCII character strings are used in the interface. This was chosen to make it easy for other languages to interface to. The coding convention is all lower case names with underscores separating words. Truxton is a member of the east const posse.

API Groups

The API is broken down into the different areas of Truxton.

Initialization

Functions

ETL Functions

Child Files

A child file is one that you have created and need to save in Truxton.

File IO

File Record Fields

Create Objects from File

The following APIs are used to create objects with a file as their parent.

ETL Creation

The following APIs are used to extend Truxton by creating an exploitation process.

Debugging

Message

String Map

File Export

Artifacts

Event

EXIF (Camera Information)

Geographic Location

Website Visit

USB Device

Relation