mirror of
https://github.com/PretendoNetwork/rce_patches.git
synced 2025-04-02 11:02:12 -04:00
Added README and removed useless patch
This commit is contained in:
parent
14fe68efba
commit
284d6d95bc
3 changed files with 9 additions and 15 deletions
8
README.md
Normal file
8
README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Aroma plugin that fixes the RCE bugs on WiiU games
|
||||
|
||||
- Mario Kart 8 (All regions, v64)
|
||||
- [ENLBufferPwn](https://github.com/PabloMK7/ENLBufferPwn) fix
|
||||
- Identification token parsing RCE fix (exploit found by Kinnay)
|
||||
|
||||
- Splatoon (All regions, v272)
|
||||
- [ENLBufferPwn](https://github.com/PabloMK7/ENLBufferPwn) fix
|
|
@ -97,20 +97,6 @@ void SPLATOON_ApplyPatch(EPatchType type)
|
|||
return;
|
||||
}
|
||||
|
||||
if (type == PATCH_ENL_ID_TOKEN_RCE)
|
||||
{
|
||||
// Address of 'enl::PiaUtil::ParseIdentificationToken'
|
||||
uint32_t addr_func = gambit_rpx->textAddr + 0xB32C08;
|
||||
function_replacement_data_t repl = REPLACE_FUNCTION_VIA_ADDRESS_FOR_PROCESS(
|
||||
enl_ParseIdentificationToken,
|
||||
OSEffectiveToPhysical(addr_func),
|
||||
addr_func,
|
||||
FP_TARGET_PROCESS_GAME_AND_MENU);
|
||||
FunctionPatcherPatchFunction(&repl, nullptr);
|
||||
|
||||
WHBLogPrintf("rce_patches: Patched Splatoon (PATCH_ENL_ID_TOKEN_RCE)");
|
||||
}
|
||||
|
||||
if (type == PATCH_ENL_BUFFER_RCE)
|
||||
{
|
||||
real_enl_TransportManager_getContentTransporter = (enl_ContentTransporter * (*)(void *, unsigned char &))(gambit_rpx->textAddr + 0xB4108C);
|
||||
|
|
|
@ -87,7 +87,7 @@ void MARIO_KART_8_ApplyPatch(EPatchType type);
|
|||
#define SPLATOON_TID_E 0x0005000010176A00
|
||||
|
||||
#define SPLATOON_TID SPLATOON_TID_J, SPLATOON_TID_U, SPLATOON_TID_E
|
||||
#define SPLATOON_PATCHES PATCH_ENL_BUFFER_RCE, PATCH_ENL_ID_TOKEN_RCE
|
||||
#define SPLATOON_PATCHES PATCH_ENL_BUFFER_RCE
|
||||
|
||||
void SPLATOON_ApplyPatch(EPatchType type);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue