User Tools

Site Tools


session:solution:mid-ctf_tasks2_4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
session:solution:mid-ctf_tasks2_4 [2014/07/11 13:52]
rcaragea
session:solution:mid-ctf_tasks2_4 [2020/07/19 12:49] (current)
Line 399: Line 399:
 Works as expected! Works as expected!
  
-==== Solving using Paul's idea ====+==== Solving using Paul's idea (stack pivoting) ====
 During the CTF Paul mentioned that he sees the solution as corrupting the stack frame so that when the function returns you get more "room" where to write both **system** and its argument. During the CTF Paul mentioned that he sees the solution as corrupting the stack frame so that when the function returns you get more "room" where to write both **system** and its argument.
 It's a much more difficult solution but doable. Let's try it. It's a much more difficult solution but doable. Let's try it.
session/solution/mid-ctf_tasks2_4.1405075922.txt.gz · Last modified: 2014/07/11 13:52 by rcaragea