Semtex Level 11
Semtex Level 11 — "Déjà vu": a modified version of an earlier encryption tool, with process plumbing (popen, dup2) suggested as reading.
Table of Contents
Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.
Deja vue
/rdx/vl1b is vortex semtex1 with a slight modification to make things a little bit harder.
Thanks to andrewg for inspiration.
Suggested reading
manpages: popen, dup2
Study guide
Level map: the program is /rdx/vl1b, a slightly harder variant of the Vortex/Semtex 1 tool.
What this level teaches
Applying a previous technique to a modified target, and understanding how programs connect to other processes.
Key ideas
- Reuse your Level 1 approach. The page says this is the earlier tool with a modification that makes it harder.
- popen and dup2. The suggested manual pages describe how a program starts a child and wires up its input and output.
- Differences. Find exactly what has changed.
How to approach it
- Run both tools on the same inputs and compare.
- Read the manual pages for the suggested system calls.
- Adapt your earlier solution.
Why it matters
Variants of the same idea appear constantly, and a systematic comparison is the fastest way through.