kihei/i-00ca6dd8e9e53cf6e
by SadServersMore by SadServers
Saving to: ‘index.html’ index.html 100%[=====================================>] 12 2024-01-15 05:10:43 (1.55 MB/s) - ‘index.html’ saved [12/12] admin@i-0d60756cd4edc8643:~$ ls agent index.html webserver.py admin@i-0d60756cd4edc8643:~$ cat index.html Unauthorizedadmin@i-0d60756cd4edc8643:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /
paris/i-0d60756cd4edc8643 01:25
by SadServerscrw------- 1 root root 10, 241 Oct 30 21:24 vhost-vsock lrwxrwxrwx 1 root root 7 Oct 30 21:24 xvda -> nvme0n1 lrwxrwxrwx 1 root root 9 Oct 30 21:25 xvda1 -> nvme0n1p1 lrwxrwxrwx 1 root root 10 Oct 30 21:24 xvda14 -> nvme0n1p14 lrwxrwxrwx 1 root root 10 Oct 30 21:24 xvda15 -> nvme0n1p15 crw-rw-rw- 1 root root 1, 5 Oct 30 21:24 zero admin@i-03eef21126bfed599:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk ├─nvme0n1p1 259:3 0 7.9G 0 part / ├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme2n1 259:2 0 1G 0 disk admin@i-03eef21126bfed599:~$ pvcreate
kihei/i-03eef21126bfed599 05:24
by SadServersagent webserver.py admin@i-04dca6e1ae246a837:~$ curl localhost:5000 Unauthorizedadmin@i-04dca6e1ae246a837:~$ history | grep sudo 5 2025-03-28T01:12:44 sudo cat webserver.py 8 2025-03-28T01:14:06 history | grep sudo admin@i-04dca6e1ae246a837:~$ sudo udo grep -r "password" /etc/ 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: