Difference between revisions of "Truxton C API"

From truxwiki.com
Jump to navigation Jump to search
Line 31: Line 31:
 
* [[truxton_etl_add_command_line_argument]] - Adds a command line argument
 
* [[truxton_etl_add_command_line_argument]] - Adds a command line argument
 
* [[truxton_etl_add_desired_file_type]] - Tells Truxton what types of files you want to process
 
* [[truxton_etl_add_desired_file_type]] - Tells Truxton what types of files you want to process
* [[truxton_etl_get_description]]
+
* [[truxton_etl_get_description]] - Retrieves the human readable description of this exploitation process
* [[truxton_etl_set_description]]
+
* [[truxton_etl_set_description]] - Sets a description that has meaning to another human about this exploitation process
* [[truxton_etl_get_message]]
+
* [[truxton_etl_get_message]] - Halts the execution of your program until a message arrives from your message queue
* [[truxton_etl_get_stage_number]]
+
* [[truxton_etl_get_stage_number]] - Retreives the [[ETL Stages | stage ]] of this exploitation process
* [[truxton_etl_set_stage_number]]
+
* [[truxton_etl_set_stage_number]] - Sets the [[ETL Stages | stage]] at which this exploitation process should run
* [[truxton_etl_set_application_name]]
+
* [[truxton_etl_set_application_name]] - Sets the name of your application
* [[truxton_etl_set_depot_type]]
+
* [[truxton_etl_set_depot_type]] - Sets the type of depot you want to use
* [[truxton_etl_set_depot_type_name]]
+
* [[truxton_etl_set_depot_type_name]] - Sets a seed name for the type of depot you want to use
 
* [[truxton_etl_set_expander_identifier]]
 
* [[truxton_etl_set_expander_identifier]]
 
* [[truxton_etl_set_expander_version]]
 
* [[truxton_etl_set_expander_version]]

Revision as of 10:02, 16 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

File Export

Artifacts

Event

EXIF (Camera Information)

File Type

Geographic Location

Relation

Website Visit

USB Device