From 87d96a339dfdab596be82cb0a2c88ccd71496cd7 Mon Sep 17 00:00:00 2001 From: "nuo.o" <49533950+nuoxoxo@users.noreply.github.com> Date: Tue, 19 Nov 2024 20:28:12 +0100 Subject: [PATCH] Update README.mdx --- level00/README.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/level00/README.mdx b/level00/README.mdx index ec8ade4..a9326b8 100644 --- a/level00/README.mdx +++ b/level00/README.mdx @@ -36,14 +36,14 @@ My permissions: - `getfacl .` (ACL: Access Control Lists) `/tmp`: -- there's a `/tmp` folder which is conventionally "world-writable" -- it is true, but not list files, no one can +- the `/tmp` folder which is conventionally "world-writable" ```b ls -ld /tmp d-wx-wx-wx 4 root root 80 Nov 19 19:58 /tmp ^^ ^^ 🔵 writable/executable ``` -- 🟢 trick: the __Echo-Chmod Combo__, eg. +- i can w|x but not list files, no one can +- 🟢 famous trick: the __Echo-Chmod Combo__, eg. - `echo "something" > /tmp/go.sh && chmod +x /tmp/go.sh && sh /tmp/go.sh` `/etc`: