From 965b765d49a5e890396a00eea3bc0a48c10f4477 Mon Sep 17 00:00:00 2001 From: "nuo.o" <49533950+nuoxoxo@users.noreply.github.com> Date: Sat, 16 Nov 2024 23:22:11 +0100 Subject: [PATCH] Update README.mdx --- level01/README.mdx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/level01/README.mdx b/level01/README.mdx index 8c56a41..345670e 100644 --- a/level01/README.mdx +++ b/level01/README.mdx @@ -3,30 +3,30 @@ - Legacy folder `/etc/passwd` ```b -$ cat /etc/passwd -$ cat /etc/passwd | grep -i flag01 | awk -F: '{print $2}' +> 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}') +### observation + 😀 if we have john we'll able to do: + > john --show <(cat /etc/passwd | grep -i flag01 | awk -F: '{print $2}') ``` - Use our own _`do_john`_ script ```b -$ chmod +x do_john.sh -$ ./do_john.sh +> chmod +x do_john.sh +> ./do_john.sh ``` - or download and use _`john`_ ```b -$ 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 __test -$ ./john --show __test +> 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 __test +> ./john --show __test ``` # 01 - token