command-line-murders/i-0152b011061332bb3
by SadServersMore by SadServers
-rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-044a7fbb0934efb34:~$ cd .config/ admin@i-044a7fbb0934efb34:~/.config$ ls asciinema admin@i-044a7fbb0934efb34:~/.config$ cd asciinema/ admin@i-044a7fbb0934efb34:~/.config/asciinema$ ls install-id admin@i-044a7fbb0934efb34:~/.config/asciinema$ cd ^C admin@i-044a7fbb0934efb34:~/.config/asciinema$ cat install-id 0e2d35c4-a944-417f-bd3a-677c2f875b37admin@i-044a7fbb0934efb34:~/.config/asciinemadmin@i-044a7fbb0934efb34:~/.config$ cd .. admin@i-044a7fbb0934efb34:~$
paris/i-044a7fbb0934efb34 03:18
by SadServersUnauthorizedadmin@i-01f465ecb0e6b6e62:~$ curl localhost:5000 Unauthorizedadmin@i-01f465ecb0e6b6e62:~$ ls agent webserver.py admin@i-01f465ecb0e6b6e62:~$ nano webserver.py admin@i-01f465ecb0e6b6e62:~$ sudo nano webserver.py We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin:
paris/i-01f465ecb0e6b6e62 00:44
by SadServersdrwxr-xr-x 7 admin admin 4096 Dec 6 15:59 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 17 17:15 .ansible -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Dec 6 15:59 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Sep 17 17:28 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-06aaa324a79f9607e:~$ less kihei "kihei" may be a binary file. See it anyway? admin@i-06aaa324a79f9607e:~$
kihei/i-06aaa324a79f9607e 00:49
by SadServersResolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:5000... connected. HTTP request sent, awaiting response... 200 OK Length: 12 [text/html] Saving to: ‘index.html’ index.html 100%[=======================================>] 1 2025-03-18 11:08:09 (119 KB/s) - ‘index.html’ saved [12/12] admin@i-0e4ab6e5bafd87397:~$ curl logalhost:5000 curl: (6) Could not resolve host: logalhost admin@i-0e4ab6e5bafd87397:~$ ls agent index.html webserver.py admin@i-0e4ab6e5bafd87397:~$ cat index.