diff options
author | Nicholas Hall <ngh@grandcare.com> | 2017-09-14 16:42:29 -0500 |
---|---|---|
committer | Nicholas Hall <ngh@grandcare.com> | 2017-09-14 16:42:29 -0500 |
commit | 52e3ab594b34bf309b8669fcaa855c295a00e114 (patch) | |
tree | 464216f7987f6df92d7c2c85bf3d398ef32189ea /src/secret.h | |
download | hooking_strcmp-master.tar.xz hooking_strcmp-master.zip |
Diffstat (limited to 'src/secret.h')
-rw-r--r-- | src/secret.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/secret.h b/src/secret.h new file mode 100644 index 0000000..d6ee2ea --- /dev/null +++ b/src/secret.h @@ -0,0 +1,7 @@ +#define A(c) (c)-0x19 +#define UNHIDE_STR(str) do { char *p = str; while (*p) *p++ += 0x19; } while (0) +#define HIDE_STR(str) do { char *p = str; while (*p) *p++ -= 0x19; } while (0) + +char pass[] = { + A('c'), A('a'), A('t'), A('z'), A('r'), A('u'), A('l'), 0 +}; |