session:solution:12
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
session:solution:12 [2015/07/23 12:20] – [Echo Service] Razvan Deaconescu | session:solution:12 [2020/07/19 09:49] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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:// |
session/solution/12.1437654050.txt.gz · Last modified: (external edit)