From 77f8e10b00b32ca50d2fa4d750a59916777b96e1 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Wed, 2 Dec 2015 10:29:07 -0500 Subject: [PATCH] Added a note that OSSetThreadAffinity() returns an error. --- wiiu_browserhax_common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiiu_browserhax_common.php b/wiiu_browserhax_common.php index 24c650a..4289b11 100644 --- a/wiiu_browserhax_common.php +++ b/wiiu_browserhax_common.php @@ -376,7 +376,7 @@ function generateropchain_type1() //ropgen_OSFatal($codepayload_srcaddr);//OSFatal(); - ropgen_switchto_core1();//When running under internetbrowser, only core1 is allowed to use codegen. Switch to core1 just in case this thread isn't on core1(with some exploit(s) it may already be one core1, but do this anyway). + ropgen_switchto_core1();//When running under internetbrowser, only core1 is allowed to use codegen. Switch to core1 just in case this thread isn't on core1(with some exploit(s) it may already be one core1, but do this anyway). OSSetThreadAffinity() currently returns an error for this, hence this codebase is only usable when this ROP is already running on core1. ropgen_copycodebin_to_codegen($codegen_addr, $payload_srcaddr, $payload_size);