Difference between revisions of "Truxton Top Level Object"

From truxwiki.com
Jump to navigation Jump to search
Line 2: Line 2:
  
 
=Methods=
 
=Methods=
==<code>create()</code>==
+
==<code>create() -> [[TruxtonObject]]</code>==
It will return a [[TruxtonObject | Truxton Object]] which is basically a connection to Truxton.
+
It will return a [[TruxtonObject|Truxton Object]] which is basically a connection to Truxton.
  
==<code>etl()</code>==
+
==<code>etl() -> [[TruxtonETL]]</code>==
This creates an [[TruxtonETL | ETL]] object to participate in exploitation.
+
This creates an [[TruxtonETL|ETL]] object to participate in exploitation.
  
==<code>options()</code>==
+
==<code>options() -> [[TruxtonOptions]]</code>==
This creates an [[TruxtonOptions | Options]] object to retrieve configuration variables.
+
This creates an [[TruxtonOptions|Options]] object to retrieve configuration variables.
  
 
=Attributes=
 
=Attributes=
 
There are hundreds of attributes to the object.
 
There are hundreds of attributes to the object.
  
==<code>version</code>==
+
==<code>version: str</code>==
 
A string containing the version of Truxton this supports.
 
A string containing the version of Truxton this supports.
  
 
==Defined Constants==
 
==Defined Constants==
The same constants used for [[File Types Supported | file types]] and [[Developer's Guide#Data Types | other purposes]] are present in the Truxton top level object.
+
The same constants used for [[File Types Supported|file types]] and [[Developer's Guide#Data Types|other purposes]] are present in the Truxton top level object.

Revision as of 05:44, 29 July 2022

This is the object that is created when you import truxton

Methods

create() -> TruxtonObject

It will return a Truxton Object which is basically a connection to Truxton.

etl() -> TruxtonETL

This creates an ETL object to participate in exploitation.

options() -> TruxtonOptions

This creates an Options object to retrieve configuration variables.

Attributes

There are hundreds of attributes to the object.

version: str

A string containing the version of Truxton this supports.

Defined Constants

The same constants used for file types and other purposes are present in the Truxton top level object.