Initial commit

Made-with: Cursor
This commit is contained in:
Nils
2026-03-29 20:45:07 +02:00
commit 10be82cba5
30 changed files with 5085 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#pragma once
#include <stddef.h>
/* Simple XOR encode/decode — symmetric operation */
static inline void xor_crypt(char *buf, const char *src, size_t len)
{
for (size_t i = 0; i < len; i++)
buf[i] = src[i] ^ 0x5A;
buf[len] = '\0';
}
/* Obfuscated string accessors (implemented in obfuscation.cpp) */
#ifdef __cplusplus
extern "C" {
#endif
const char *obf_stools_host(void);
const char *obf_api_settings_path(void);
const char *obf_api_obs_info_path(void);
const char *obf_api_version_path(void);
const char *obf_dash_tools_path(void);
const char *obf_dash_downloads_path(void);
const char *obf_ipify_host(void);
const char *obf_duckdns_host(void);
const char *obf_ua_prefix(void);
const char *obf_https_prefix(void);
const char *obf_duckdns_update_fmt(void);
const char *obf_auth_bearer_fmt(void);
#ifdef __cplusplus
}
#endif