From 6a6a46a5c48e17719cdd5aa591c75da1da6bd905 Mon Sep 17 00:00:00 2001 From: nuoxoxo Date: Fri, 15 Nov 2024 23:17:22 +0000 Subject: [PATCH] show READMEs daily --- README.mdx | 68 +++++++++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/README.mdx b/README.mdx index 82c8518..7891e86 100644 --- a/README.mdx +++ b/README.mdx @@ -1,3 +1,37 @@ +# Level 01 - solution + +``` +$ su level01 +$ Password: x24ti5gi3x0ol2eh4esiuxias +``` +- take a look at the legacy `/etc/passwd` +``` +$ cat /etc/passwd +$ 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: +``` +$ 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 +$ cd john-1.8.0.9-jumbo-macosx_sse4 +$ echo 42hDRfypTqqnw $ __test +$ ./john --show __test +``` +- VM +``` +$ su flag01 +Password: abcdefg +``` + +# Level 01 - token + +```r +x24ti5gi3x0ol2eh4esiuxias +``` # Level 00 - solution @@ -42,38 +76,4 @@ on host do ``` -# Level 01 - solution - -``` -$ su level01 -$ Password: x24ti5gi3x0ol2eh4esiuxias -``` -- take a look at the legacy `/etc/passwd` -``` -$ cat /etc/passwd -$ 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: -``` -$ 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 -$ cd john-1.8.0.9-jumbo-macosx_sse4 -$ echo 42hDRfypTqqnw $ __test -$ ./john --show __test -``` -- VM -``` -$ su flag01 -Password: abcdefg -``` - -# Level 01 - token - -```r -x24ti5gi3x0ol2eh4esiuxias -```