netmdocm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
netmdocm [2011/01/16 14:33] – nopsled | netmdocm [2011/01/16 14:34] – nopsled | ||
---|---|---|---|
Line 1473: | Line 1473: | ||
CompleteCheckIn netmd(7) | CompleteCheckIn netmd(7) | ||
- | |||
- | ===== netmd.ocm Decompiled ===== | ||
- | < | ||
- | |||
- | Dict[0xf9] = {0x63, 0x81, 0x63, 0xB8, 0x2C, 0x4E, 0x31, | ||
- | 0x81, 0x0F, 0xBE, 0xE0, 0x1B, 0x2E, 0x7F, | ||
- | 0xC2, 0x5B, 0x87, 0x95, 0x86, 0xE3}; | ||
- | |||
- | |||
- | // CIPHERTEXT must be a serialized and encrypted blob (see dev_0xd8/ | ||
- | // The PLAINTEXT is appended to that blob and the serialized and encrypted result is returned. | ||
- | blob_t | ||
- | netmd_0x07 (blob_t key, blob_t some_plaintext, | ||
- | { | ||
- | static blob_t pad[16] = { 0x33, 0x4a, 0x18, 0x94, 0xc1, 0xf3, 0x83, 0xf6, | ||
- | 0xd3, 0xeb, 0x6a, 0xc2, 0xad, 0x13, 0x07, 0xca }; | ||
- | blob_t data = dev_0xd8 (some_ciphertext, | ||
- | data = CONCAT (data, some_plaintext); | ||
- | return dev_0xd9 (data, XOR (key, pad)); | ||
- | } | ||
- | </ | ||
- | |||
- | ===== icv.ocm Decompiled ===== | ||
- | |||
- | < | ||
- | |||
- | // | ||
- | // Generate a SalOmgId | ||
- | // | ||
- | // | ||
- | // | ||
- | // < | ||
- | // | ||
- | // Note: When OpenMG is used (trough the UI) for the first time this value is generated, | ||
- | // by calling the salwrap function getSalOmgId. | ||
- | // | ||
- | // const unsigned __int8 *__cdecl getSalOmgId() | ||
- | // | ||
- | blob_t icv(07) | ||
- | { | ||
- | | ||
- | | ||
- | data = BCX_01_Concat(PrefixSalOmgId, | ||
- | Push 1 | ||
- | | ||
- | | ||
- | } | ||
- | </ | ||
netmdocm.txt · Last modified: 2024/05/21 14:50 by nopsled