command-line-murders/i-0f83e8d429758402b
by SadServersMore by SadServers
Unauthorizedadmin@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 SadServersadmin@i-0af8cfecbf1963f99:~$ ls -la total 5245080 drwxr-xr-x 7 admin admin 4096 Mar 27 09:37 . drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 17 2023 .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 Mar 27 09:37 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Sep 17 2023 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-0af8cfecbf1963f99:~$ ./kihei
kihei/i-0af8cfecbf1963f99 00:27
by SadServers--2023-12-12 15:08:36-- http://localhost:5000/ Resolving 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 0%[ index.html 100%[===========================================================================>] 12 --.-KB/s in 0s 2023-12-12 15:08:36 (35.6 KB/s) - ‘index.html’ saved [12/12] admin@i-0e2c619ce30827e76:~$ cat index.html Unauthorizedadmin@i-0e2c619ce30827e76:~$