Vortex Level 13
Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.
Inconveniences¶
How big is your shellcode? This level has a non-executable stack. You must login to vortex.labs.overthewire.org to complete this level.
Study guide¶
Level map: logged in as vortex13, obtain access to vortex14.
What this level teaches¶
Working under tight space constraints.
Key ideas¶
- Size matters. The level's title and question point to a limited amount of room for your payload.
- Compact shellcode. Shorter instruction sequences, reusing registers, and avoiding forbidden bytes.
- Non-executable stack still applies, so check whether you must reuse existing code.
- Verify in the debugger. Count bytes and test on the target.
How to approach it¶
- Measure the space you have and what bytes are forbidden.
- Find the smallest sequence that achieves your goal.
- Test the payload with the real constraints.
Why it matters¶
Real exploits often have only a few bytes to work with, which is why shellcode tricks and staged payloads exist.