command-line-murders/i-01af35aafba2ae0bf
by SadServersMore by SadServers
admin@i-0a403732f7a5a7933:~$ ls -la total 5245080 drwxr-xr-x 7 admin admin 4096 Dec 25 14:34 . 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 Dec 25 14:34 .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 Dec 25 14:34 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-0a403732f7a5a7933:~$
kihei/i-0a403732f7a5a7933 00:40
by SadServersbash: py: command not found admin@i-0121b4e734c6ef16e:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0121b4e734c6ef16e:~$ sudo su 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: sudo: a password is required admin@i-0121b4e734c6ef16e:~$
paris/i-0121b4e734c6ef16e 02:34
by SadServersLength: 12 [text/html] Saving to: ‘index.html’ index.html 100%[==== 2024-11-08 23:43:59 (222 KB/s) - ‘index.html’ saved [12/12] admin@i-030710a3e05c7b25d:~$ curl localhost:5000 Unauthorizedadmin@i-030710a3e05c7b25d:~$ md5sum ~/mysolution md5sum: /home/admin/mysolution: No such file or directory admin@i-030710a3e05c7b25d:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.