summaryrefslogtreecommitdiff
path: root/x86_64/write4/useful_gadgets
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@bpcspace.com>2020-12-16 17:45:09 -0600
committerBrett Weiland <brett_weiland@bpcspace.com>2020-12-16 17:45:09 -0600
commit3f0a1e64c7e7b410ad5f4e2024cd692536389449 (patch)
tree6474bed612527dd0ca7bc9d2f7096769fd212d14 /x86_64/write4/useful_gadgets
parent2ddedfeb9199c2ff01b540edf92a4f7d69455c16 (diff)
new file: x86_64/write4/exploit.py
new file: x86_64/write4/useful_gadgets
Diffstat (limited to 'x86_64/write4/useful_gadgets')
-rw-r--r--x86_64/write4/useful_gadgets19
1 files changed, 19 insertions, 0 deletions
diff --git a/x86_64/write4/useful_gadgets b/x86_64/write4/useful_gadgets
new file mode 100644
index 0000000..09c0849
--- /dev/null
+++ b/x86_64/write4/useful_gadgets
@@ -0,0 +1,19 @@
+0x000000000040068d : pop rsp ; pop r13 ; pop r14 ; pop r15 ; ret
+
+0x0000000000400690 : pop r14 ; pop r15 ; ret
+0x0000000000400628 : mov qword ptr [r14], r15 ; ret
+
+0x000000000040069) : pop rdi; ret
+
+
+
+
+
+0x0000000000400510 : print_file@plt
+0x0000000000600df0 : addr of init array
+
+we should write to .init_array .fini_array
+
+
+
+