Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions introspecting/gdb-launch/submit-number
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if [ "$UID" -ne 0 ]
then
fold -s <<< "WARNING: I appear to be running as a non-root user. This might be due to you invoking me using strace! Trace /challenge/trace-me, not $0! Please run me directly, without strace or gdb."
fold -s <<< "WARNING: I appear to be running as a non-root user. This might be due to you invoking me using gdb! Launch /challenge/debug-me with gdb, not $0! Please run me directly, without strace or gdb."
fi

read NUM </challenge/.correct
Expand All @@ -17,7 +17,7 @@ fi

if [ "$NUM" != "$1" ]
then
fold -s <<< "Incorrect... Make sure to get the secret value from the /challenge/trace-me file."
fold -s <<< "Incorrect... Make sure to get the secret value from the /challenge/debug-me file."
exit 1
fi

Expand Down
4 changes: 2 additions & 2 deletions introspecting/gdb-starti/submit-number
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if [ "$UID" -ne 0 ]
then
fold -s <<< "WARNING: I appear to be running as a non-root user. This might be due to you invoking me using strace! Trace /challenge/trace-me, not $0! Please run me directly, without strace or gdb."
fold -s <<< "WARNING: I appear to be running as a non-root user. This might be due to you invoking me using gdb! Launch /challenge/debug-me with gdb, not $0! Please run me directly, without strace or gdb."
fi

read NUM </challenge/.correct
Expand All @@ -17,7 +17,7 @@ fi

if [ "$NUM" != "$1" ]
then
fold -s <<< "Incorrect... Make sure to get the secret value from the /challenge/trace-me file."
fold -s <<< "Incorrect... Make sure to get the secret value from the /challenge/debug-me file."
exit 1
fi

Expand Down