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 15, 2024
1 parent 1917254 commit 67e9f23
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions level01/README.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Level 01 - solution

- use token `x24...` from the last level

```
$ su level01
$ Password: x24ti5gi3x0ol2eh4esiuxias
```
- take a look at the legacy `/etc/passwd`

- take a look at legacy folder `/etc/passwd`

```
$ cat /etc/passwd
$ cat /etc/passwd | grep -i flag01 | awk -F: '{print $2}'
Expand All @@ -13,7 +17,7 @@ $ cat /etc/passwd | grep -i flag01 | awk -F: '{print $2}'
😀 if we have john we'll able to do:
$ john --show <(cat /etc/passwd | grep -i flag01 | awk -F: '{print $2}')
```
- on host:
- get and use `john` on host:
```
$ wget https://download.openwall.net/pub/projects/john/contrib/macosx/john-1.8.0.9-jumbo-macosx_sse4.zip
$ tar -xvf john-1.8.0.9-jumbo-macosx_sse4.zip
Expand All @@ -30,5 +34,5 @@ Password: abcdefg
# Level 01 - token

```r
x24ti5gi3x0ol2eh4esiuxias
f2av5il02puano7naaf6adaaf
```

0 comments on commit 67e9f23

Please sign in to comment.