initial commit
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#ifndef ZERIN_SLEEP_OBF_H
|
||||
#define ZERIN_SLEEP_OBF_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// Obfuscated sleep: encrypts the agent's image in memory during the
|
||||
// sleep interval using XOR with the provided key, then decrypts on wake.
|
||||
// Falls back to a plain Sleep() if setup fails.
|
||||
//
|
||||
// ms — sleep duration in milliseconds
|
||||
// key — 32-byte encryption key (typically the session key)
|
||||
int sleep_obfuscated(uint32_t ms, const uint8_t *key);
|
||||
|
||||
#endif // ZERIN_SLEEP_OBF_H
|
||||
Reference in New Issue
Block a user