{"id":27223563,"url":"https://github.com/j4k0xb/krunkscript-pwn","last_synced_at":"2025-04-10T09:09:22.995Z","repository":{"id":58737426,"uuid":"533473771","full_name":"j4k0xb/krunkscript-pwn","owner":"j4k0xb","description":"Extract/deobfuscate/hook/inject maps with KrunkScript enabled","archived":false,"fork":false,"pushed_at":"2025-04-03T20:47:37.000Z","size":162,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T21:31:53.836Z","etag":null,"topics":["ast","codemod","hooks","injector","krunker","krunkerio","krunkscript","reverse-engineering"],"latest_commit_sha":null,"homepage":"https://krunkscript-deobfuscator.netlify.app","language":"TypeScript","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/j4k0xb.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-09-06T19:29:01.000Z","updated_at":"2025-04-03T20:47:41.000Z","dependencies_parsed_at":"2025-04-03T21:27:11.143Z","dependency_job_id":"8dc435d0-f5c7-419c-b715-b9ccdb857c80","html_url":"https://github.com/j4k0xb/krunkscript-pwn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j4k0xb%2Fkrunkscript-pwn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j4k0xb%2Fkrunkscript-pwn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j4k0xb%2Fkrunkscript-pwn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j4k0xb%2Fkrunkscript-pwn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j4k0xb","download_url":"https://codeload.github.com/j4k0xb/krunkscript-pwn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248190494,"owners_count":21062284,"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":["ast","codemod","hooks","injector","krunker","krunkerio","krunkscript","reverse-engineering"],"created_at":"2025-04-10T09:09:22.390Z","updated_at":"2025-04-10T09:09:22.975Z","avatar_url":"https://github.com/j4k0xb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KrunkScript Pwn\n\nUserscript no longer works because JSON.parse can't be hooked.\n\n\u003e [!TIP]\n\u003e Check out the new decompiler: \u003chttps://krunkscript-decompiler.netlify.app/\u003e\n\u003e\n\u003e - Outputs almost 100% identical KrunkScript syntax\n\u003e - Infers types through constraint propagation and data flow analysis\n\u003e\n\u003e ![Decompiler comparison](https://github.com/user-attachments/assets/8fe59fe0-e507-44d7-8fcb-8988bbfcd4db)\n\n## Installation\n\n1. Install [Tampermonkey](http://www.tampermonkey.net) for your browser.\n2. Add the [userscript](https://github.com/j4k0xb/krunkscript-pwn/raw/master/script.user.js).\n\n## Features\n\n- Extract, deobfuscate and beautify compiled KrunkScript when you join a map with scripts.\n- Online deobfuscator: \u003chttps://krunkscript-deobfuscator.netlify.app\u003e\n\n![Deobfuscator comparison](https://user-images.githubusercontent.com/55899582/188747147-44ee146f-7d93-4920-996d-3972bd1cb8ef.png)\n\n- Read/modify global variables.\n- Access everything from `GAME`.\n- Inject own actions.\n\n## How To Download Scripts\n\n1. Join a map with scripts\n2. Use a chromium based browser\n3. Open the developer console (F12)\n4. Execute `queryObjects(Function.prototype)` (this may take a while)\n5. Right-click on the resulting array and select \"Store as global variable\"\n6. Execute `temp1.find(f=\u003ef.name==='V_start')`\n7. Click on the function to see the whole script in the sources tab\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj4k0xb%2Fkrunkscript-pwn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj4k0xb%2Fkrunkscript-pwn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj4k0xb%2Fkrunkscript-pwn/lists"}