{"id":22750940,"url":"https://github.com/rongmario/imaginebreaker","last_synced_at":"2025-04-14T13:03:01.575Z","repository":{"id":185976952,"uuid":"605364537","full_name":"Rongmario/ImagineBreaker","owner":"Rongmario","description":"Java 9-23 Hackery, destroys module system + reflection filters","archived":false,"fork":false,"pushed_at":"2024-02-17T04:43:57.000Z","size":145,"stargazers_count":23,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-02-17T13:47:35.735Z","etag":null,"topics":["hacking","java","java-17","jpms","methodhandles","module","reflection","unsafe"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rongmario.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}},"created_at":"2023-02-23T02:01:04.000Z","updated_at":"2024-02-15T13:07:46.000Z","dependencies_parsed_at":"2024-01-14T14:39:19.905Z","dependency_job_id":"736dce8d-cad7-4240-8415-4ca0a6f1bb6e","html_url":"https://github.com/Rongmario/ImagineBreaker","commit_stats":null,"previous_names":["rongmario/imaginebreaker"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rongmario%2FImagineBreaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rongmario%2FImagineBreaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rongmario%2FImagineBreaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rongmario%2FImagineBreaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rongmario","download_url":"https://codeload.github.com/Rongmario/ImagineBreaker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229170013,"owners_count":18030787,"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":["hacking","java","java-17","jpms","methodhandles","module","reflection","unsafe"],"created_at":"2024-12-11T04:18:59.793Z","updated_at":"2024-12-11T04:19:00.372Z","avatar_url":"https://github.com/Rongmario.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg style=\"float: right;\" src=\"https://i.imgur.com/rimNwts.png\" width=\"40%\" height=\"40%\"\u003e\n\n# Imagine Breaker [幻想殺し]\n\n\n### *I will destroy that illusion of yours.*\n\nWith the love of ~~JNI~~ Unsafe \u0026 MethodHandles/VarHandles API from Java 9 - 23, this provides:\n\n1. Public-facing `sun.misc.Unsafe` API instance \u0026 maximum priviledge **(TRUSTED)** `MethodHandles$Lookup` instance.\n2. Breaking down the Java Platform Module System (JPMS) to open up any specified module\n3. Disguise as any specified Module, in order to fool `@CallerSensitive` methods\n4. Removal of Reflection Filters, allows retrieval of any fields from classes that were previously blocked:\n\n   - `jdk.internal.reflect.ConstantPool`\n   - `jdk.internal.reflect.Reflection`\n   - `jdk.internal.reflect.UnsafeStaticFieldAccessorImpl`\n   - `java.lang.Class`\n   - `java.lang.ClassLoader`\n   - `java.lang.reflect.Constructor`\n   - `java.lang.reflect.Field`\n   - `java.lang.reflect.Method`\n   - `java.lang.Module`\n   - `java.lang.System`\n   - `java.lang.invoke.MethodHandles$Lookup`\n   - `java.lang.reflect.AccessibleObject`\n\n## Usage\n`build.gradle`:\n```groovy\nrepositories {\n    maven {\n        url 'https://maven.cleanroommc.com'\n    }\n}\n\ndependencies {\n    implementation 'zone.rong:imaginebreaker:2.1'\n}\n```\n\nNamesake: [Toaru Majutsu no Index](https://en.wikipedia.org/wiki/A_Certain_Magical_Index)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frongmario%2Fimaginebreaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frongmario%2Fimaginebreaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frongmario%2Fimaginebreaker/lists"}