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]] - Gives you a handle to an artifact
+
 
* [[truxton_child_file_create_event]] -  
+
Creating things related to this file:
* [[truxton_child_file_create_exif]] -  
+
* [[truxton_child_file_create_artifact]] - Creates and associates an artifact with this file. The artifact be saved to the <code>[[Entity Table | Entity]]</code> table.
* [[truxton_child_file_create_location]] -  
+
* [[truxton_child_file_create_event]] - Creates and associates an event with this file. The event will be saved to the <code>[[Event Table | Event]]</code> table.
 +
* [[truxton_child_file_create_exif]] - Creates and associates camera information with this file. The data will be saved to the <code>[[EXIF Table | EXIF]]</code> table.
 +
* [[truxton_child_file_create_location]] - Creates and associates a geographic location with this file. The data will be saved to the <code>[[Location Table | Location]]</code> table.
 
* [[truxton_child_file_create_relation]] -  
 
* [[truxton_child_file_create_relation]] -  
 
* [[truxton_child_file_create_url]] -  
 
* [[truxton_child_file_create_url]] -  

Revision as of 13:12, 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.

Creating things related to this file:

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