{"id":31944880,"url":"https://github.com/eliotvu/unrealscript-unflect","last_synced_at":"2026-02-17T23:03:12.064Z","repository":{"id":145256193,"uuid":"581719179","full_name":"EliotVU/UnrealScript-Unflect","owner":"EliotVU","description":"Enabled GodMode by exploiting an UnrealScript Virtual Machine vulnerbility","archived":false,"fork":false,"pushed_at":"2024-10-25T19:17:56.000Z","size":53,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-23T10:56:04.218Z","etag":null,"topics":["exploit","unreal-engine","unrealscript"],"latest_commit_sha":null,"homepage":"","language":"UnrealScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EliotVU.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}},"created_at":"2022-12-24T04:11:35.000Z","updated_at":"2024-10-25T19:18:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8a3cf9d-bab4-4fc6-baa7-ae5092e69e7b","html_url":"https://github.com/EliotVU/UnrealScript-Unflect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EliotVU/UnrealScript-Unflect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliotVU%2FUnrealScript-Unflect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliotVU%2FUnrealScript-Unflect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliotVU%2FUnrealScript-Unflect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliotVU%2FUnrealScript-Unflect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EliotVU","download_url":"https://codeload.github.com/EliotVU/UnrealScript-Unflect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliotVU%2FUnrealScript-Unflect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29561783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["exploit","unreal-engine","unrealscript"],"created_at":"2025-10-14T10:45:44.522Z","updated_at":"2026-02-17T23:03:12.043Z","avatar_url":"https://github.com/EliotVU.png","language":"UnrealScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unflect\n\nUnflect is a proof-of-concept that exploits the UnrealScript compiler to trick it into compiling an illegal class casting. For example, we can retrieve the values of strictly native fields by casting a UFunction instance into our own mirrored UFunction.\n\n![image](Docs/media/example.png)\n\n## Compiling\n\nThe source is written for Unreal Tournament 2004, but the code should compile for most UE2 games, possibly requiring some minor alignment changes in the native mirror classes.\n\n* Run `make.bat` (The directory with the `/Classes/` directory has to be located at the root of the UE2 installation e.g. (`C:\\\\UT2004/Unflect/`)\n* Run `test.bat` to confirm that everything's working.\n\n## Usage\n\n### Function Replacement\n\nIf you need to replace a function in a class, follow these steps:\n\n* Create a new class that extends the class in which the function you want to replace is located.\n* Declare that function in the created class.\n* DO NOT change the function declaration and argument types/amount.\n* DO NOT create new local variables, as this can cause random crashes. If you need additional variables, make them global and access them using the `class'myNewClass'.default.myNewVariable` syntax.\n* If you want to call or override parent code, make sure to always specify the desired parent class name. For example, use `super(TargetClass).PostBeginPlay()` instead of `super.PostBeginPlay()`. This will prevent runaway loop crashes.\n* Make your edits to the function's code, and then call the replacement function:\n\n```unrealscript\nclass'CoreAPI'.static.ReplaceFunction(self, \"package.class.targetFunction\", \"myNewClass.newFunction\")\n```\n\nFollowing these steps will help ensure that your code changes are compatible with the rest of the codebase and do not cause unexpected crashes.\n\n### Type Metadata\n\nWorks with `int`, `float`, `bool`, `byte`, `string`, `name` types, make sure that your variable name length \u003e= 2 characters.\n\n```unrealscript\nvar int MyCommentStringProperty \"Hello world!\";\n\nlog(\"MetaData: \" $ class'CoreAPI'.static.GetTypeMetaData(Property'MyCommentStringProperty'));\n```\n\n## Derivative works\n\n* [ElitePatch](https://github.com/EliteTrials/ElitePatch) - A UT2004 patch that is activated at run-time on the server and all its clients\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliotvu%2Funrealscript-unflect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliotvu%2Funrealscript-unflect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliotvu%2Funrealscript-unflect/lists"}