Added a note that OSSetThreadAffinity() returns an error.

This commit is contained in:
yellows8 2015-12-02 10:29:07 -05:00
parent d9e2308c88
commit 77f8e10b00
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ function generateropchain_type1()
//ropgen_OSFatal($codepayload_srcaddr);//OSFatal(<data from the haxx>);
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);