MCPcopy Create free account
hub / github.com/Bl4ckM1rror/FUD-UUID-Shellcode / XOR

Function XOR

fud-uuid-shc.cpp:78–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void XOR(BYTE *data, unsigned long data_len, const char *key, unsigned long key_len)
79{
80 unsigned long i{0x0345};
81 {
82 size_t i{};
83 do
84 {
85 i <<= FAKE_OFFSET;
86 data[i >> FAKE_OFFSET] ^= key[(i >> FAKE_OFFSET) % key_len];
87 i >>= FAKE_OFFSET;
88 ++i;
89 } while (i % data_len);
90 }
91}
92
93int main(int argc, char *argv[])
94{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected