Created
October 20, 2016 12:42
-
-
Save psrok1/8fce5f279ee8d9003bd99d71d468aeb0 to your computer and use it in GitHub Desktop.
TorrentLocker message struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct tlock_message /* pack(1) */ { | |
wchar_t machineId[33]; // identyfikator maszyny (offs=0x00, size=66) | |
wchar_t campaignId[33]; // identyfikator kampanii (offs=0x42, size=66) | |
char ipAddress[16]; // adres IP maszyny (offs=0x84, size=16) | |
uint8_t command; // typ żądania (offs=0x94, size=1) | |
uint32_t sizeOfData; // rozmiar dodatkowych danych (offs=0x95, size=4) | |
char data[]; // dodatkowe dane (opcjonalnie, offs=0x99, size=..) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment