Skip to main content
Settings
Search
Appearance
Theme Mode
About
Jekyll v3.10.0
Environment Production
Last Build
2026-05-22 22:41 UTC
Current Environment Production
Build Time May 22, 22:41
Jekyll v3.10.0
Build env (JEKYLL_ENV) production
Page Location
Page Info
Layout default
Collection docs
Path _docs/wargames/overthewire/semtex/semtex4.md
URL /docs/wargames/semtex/semtex4/
Date 2026-04-07
Theme Skin
SVG Backgrounds
Layer Opacity
0.6
0.04
0.08

Semtex4

By Amr

Ptrace your way ---------------

Estimated reading time: 0 minutes

Table of Contents

Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.

Ptrace your way

Pass prints the password for the level you are on. Try to make it print the next level’s password. This time it is not so easy:

/semtex/semtex4: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.15, stripped

Tip :

  • Pass uses geteuid() to get its information.
  • Read man ptrace