This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
session:solution:12 [2015/07/23 15:20] Razvan Deaconescu [Echo Service] |
session:solution:12 [2020/07/19 12:49] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | + | ||
- | ===== Gadget Tut ===== | + | |
- | + | ||
- | TODO | + | |
- | + | ||
- | ===== Echo Service ===== | + | |
- | + | ||
- | < | + | |
- | The log file created with [[http:// | + | |
- | </ | + | |
- | + | ||
- | By going through the '' | + | |
- | + | ||
- | Let's first consider our steps. | + | |
- | - We will create a payload that overflows the '' | + | |
- | - We will update the payload issue the following calls through the ROP chain, as also indicated in the task: | + | |
- | - '' | + | |
- | - '' | + | |
- | - '' | + | |
- | - We will start the server and then we will use '' | + | |
- | + | ||
- | We aim for the stack to be the one below:< | + | |
- | 0x00000000 | + | |
- | ... | + | |
- | start address of buf | + | |
- | ... | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | | + | |
- | +--------------------------------+ | + | |
- | | "/ | + | |
- | +--------------------------------+ | + | |
- | + | ||
- | ... | + | |
- | 0xFFFFFFFF | + | |
- | </ | + | |
+ | [[http:// |