Skip to content

Commit 838e8fd

Browse files
committed
Address challenge feedback from Discord
1 parent 54749b6 commit 838e8fd

3 files changed

Lines changed: 2 additions & 1 deletion

File tree

challenges/linux-luminarium/piping/tee/DESCRIPTION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ Commands succeeded!
3131

3232
Now, you try it!
3333
This process' `/challenge/pwn` must be piped into `/challenge/college`, but you'll need to intercept the data to see what `pwn` needs from you!
34+
Use `tee` to duplicate your first attempt into a file, inspect the saved output, and then retry the pipeline with what you learned.

challenges/linux-luminarium/piping/tee/challenge/college

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ read SS < <(tail -n1)
1212

1313
if [ "$SS" != "SUPERSECRET:$(tail -c+20 /flag | head -c4)" ]
1414
then
15-
fold -s <<< "The input to 'college' does not contain the correct secret code! This code should be provided by the 'pwn' command. HINT: use 'tee' to intercept the output of 'pwn' and figure out what the code needs to be."
15+
fold -s <<< "The input to 'college' does not contain the correct secret code! This code should be provided by the 'pwn' command. HINT: use 'tee' to save the first attempt to a file, inspect the saved output, and then retry the pipeline with what you learned."
1616
exit 2
1717
fi
1818

369 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)