Skip to content

Commit

Permalink
Update README.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
nuoxoxo authored Nov 19, 2024
1 parent 5b4f4c7 commit 87d96a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions level00/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down

0 comments on commit 87d96a3

Please sign in to comment.