From 7bc41ab18911c92f9b22c794755e5bd28f89ede5 Mon Sep 17 00:00:00 2001 From: nuoxoxo Date: Sat, 16 Nov 2024 16:10:44 +0000 Subject: [PATCH] show READMEs daily --- README.mdx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.mdx b/README.mdx index bab9a25..ae28a25 100644 --- a/README.mdx +++ b/README.mdx @@ -1,5 +1,4 @@ -/home/runner/work/cfo/cfo -# tokens +# Tokens ```b level00 level00 @@ -12,7 +11,7 @@ level02 f2av5il02puano7naaf6adaaf # SSH into VM on host -```rb +```b $ ifconfig $ ifconfig | grep inet $ ifconfig | grep 'inet ' | awk 'NR==2' @@ -23,7 +22,7 @@ $ ssh level00@$(ifconfig | grep 'inet ' | awk 'NR==2 {print $2}') -p 4242 - to begin with -``` +```b $ ls -l $ find / -user level00 $ find / -user level00 2>/dev/null @@ -70,7 +69,7 @@ $ Password: x24ti5gi3x0ol2eh4esiuxias - take a look at legacy folder `/etc/passwd` -``` +```b $ cat /etc/passwd $ cat /etc/passwd | grep -i flag01 | awk -F: '{print $2}' @@ -81,7 +80,7 @@ $ john --show <(cat /etc/passwd | grep -i flag01 | awk -F: '{print $2}') - get and use `john` on host: -``` +```b $ chmod +x do_john.sh $ ./do_john.sh