File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1438,11 +1438,12 @@ async function userland() {
1438
1438
p . write4 ( rwpair_mem . add32 ( 0x04 ) , victim_sock ) ;
1439
1439
1440
1440
// 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]
1443
1443
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
1446
1447
1447
1448
// Execute payload in pthread
1448
1449
await log ( " [+] Executing!" ) ;
You can’t perform that action at this time.
0 commit comments