Skip to content

Commit

Permalink
show READMEs daily
Browse files Browse the repository at this point in the history
  • Loading branch information
nuoxoxo committed Nov 15, 2024
1 parent 409e158 commit 292d9a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,21 @@ $ find / -user flag00 -exec cat {} + 2>/dev/null
cdiiddwpgswtgt
👉 looks like cipher to decode
```

- command explained
- `/` - from root directory
- `+` - forces `find` to run `cat` on many files at once and not one at a time
- `2>/dev/null` - redir stderr output to `/dev/null`
- decipher in python
```

```py
a = ord('a')
for i in range(25):
print(i, ''.join(chr(a + (ord(c) - a + i) % 26) for c in 'cdiiddwpgswtgt'))
```

- swicth to user `flag00` w/ pw

```sh
$ su flag00
Password: nottoohardhere
Expand Down

0 comments on commit 292d9a6

Please sign in to comment.