{"id":19119053,"url":"https://github.com/alsch092/obfuscatethis","last_synced_at":"2025-07-09T01:04:20.502Z","repository":{"id":200243725,"uuid":"705107691","full_name":"AlSch092/ObfuscateThis","owner":"AlSch092","description":"Templated Obfuscation example in C++ for protecting/hiding values in memory","archived":false,"fork":false,"pushed_at":"2025-02-01T22:32:29.000Z","size":65,"stargazers_count":35,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-09T01:03:10.784Z","etag":null,"topics":["anti-cheat","memory-game","memory-hacking","obfuscation","reverse-engineering"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlSch092.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-15T03:27:12.000Z","updated_at":"2025-05-22T21:37:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"6387151e-29db-44ad-9467-24059cbb8610","html_url":"https://github.com/AlSch092/ObfuscateThis","commit_stats":null,"previous_names":["alsch092/obfuscatethis"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/AlSch092/ObfuscateThis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlSch092%2FObfuscateThis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlSch092%2FObfuscateThis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlSch092%2FObfuscateThis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlSch092%2FObfuscateThis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlSch092","download_url":"https://codeload.github.com/AlSch092/ObfuscateThis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlSch092%2FObfuscateThis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264373748,"owners_count":23598076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anti-cheat","memory-game","memory-hacking","obfuscation","reverse-engineering"],"created_at":"2024-11-09T05:08:25.089Z","updated_at":"2025-07-09T01:04:20.067Z","avatar_url":"https://github.com/AlSch092.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ObfuscateThis\nTemplated Obfuscation example in C++ for protecting/hiding values in memory, provides a class `Obfuscator` which contains static routines for obfuscating + deobfuscatiing basic types, along with a class template specialization for `string` type which deals with string encryption specifically.\n\n## What is this?  \nA standalone class for runtime obfuscation written in C++ which supports all basic data types and `std::string`. A simple (optional) wrapper is included in the 'tests' file (Obfuscate.cpp), and demonstrates usage of the class. String obfuscation loops over each letter of an input string and performs a XOR and then adds/subtracts another value based on the element's index being even or odd. Additional measures have been made to ensure that XOR brute forcing cannot occur, by using bit shifting. \n\n## Memory Implications  \nAll routines are set as `__forceinline` such that a single location in memory cannot be hooked to reveal secrets. During deobfuscation, the obfuscated value is not revealed in memory, as only a deobfuscated copy is returned from the function.\n\n## License\nThere is no license associated with this code, you are free to use it as you wish!\n\nThank you for reading and taking an interest, happy coding.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falsch092%2Fobfuscatethis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falsch092%2Fobfuscatethis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falsch092%2Fobfuscatethis/lists"}