command-line-murders/i-03e1bf378a5853d20
by SadServersMore by SadServers
admin@i-07dce1b4c6a64e35f:/etc/apache2/conf-available$ ls -l total 4 -rw-r--r-- 1 root root 127 Dec 18 2020 javascript-common.conf admin@i-07dce1b4c6a64e35f:/etc/apache2/conf-available$ ls -l ../ total 4 drwxr-xr-x 2 root root 4096 Sep 24 2023 conf-available admin@i-07dce1b4c6a64e35f:/etc/apache2/conf-available$ cat javascript-common.conAlias /javascript /usr/share/javascript/ <Directory "/usr/share/javascript/"> Options FollowSymLinks MultiViews </Directory> admin@i-07dce1b4c6a64e35f:/etc/apache2/conf-available$ cat ^C admin@i-07dce1b4c6a64e35f:/etc/apache2/conf-available$
paris/i-07dce1b4c6a64e35f 02:21
by SadServerstotal 44 drwxr-xr-x 6 admin admin 4096 Sep 24 2023 . drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 20 2023 .ansible -rw------- 1 admin admin 379 Nov 4 03:55 .bash_history -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 Sep 20 2023 .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 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0462cf041b08d8861:~$ chown -R admin:admin /home/admin/ chown: changing ownership of '/home/admin/webserver.py': Operation not permittedadmin@i-0462cf041b08d8861:~$ curl http
paris/i-0462cf041b08d8861 04:12
by SadServersadmin@i-013a8ed80353e321b:~$ curl --user-agent "ads" localhost:500 curl: (7) Failed to connect to localhost port 500: Connection refused admin@i-013a8ed80353e321b:~$ curl --user-agent "ads" localhost:5000 Welcome! Password is FDZPmh5Aecho "somepassword" > ~/mysolution echo "somepasswoadmin@i-013a8ed80353e321b:~$ echo "FDZPmh5Aecho" > ~/mysolution admin@i-013a8ed80353e321b:~$
paris/i-013a8ed80353e321b 01:04
by SadServersConnecting 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 2025-02-05 00:23:50 (1.79 MB/s) - ‘index.html’ saved [12/12] admin@i-00106663cc89b7917:~$ ls agent index.html webserver.py admin@i-00106663cc89b7917:~$ cat index.html Unauthorizedadmin@i-00106663cc89b7917:~$ nc localh