command-line-murders/i-0eca37425beae6284
by SadServersMore by SadServers
admin@i-098403fc39803a851:~$ curl localhost:5000 Unauthorizedadmin@i-098403fc39803a851:~$ nc localhost 5000 GET / admin@i-098403fc39803a851:~$ admin@i-098403fc39803a851:~$ nc -v localhost 5000 Connection to localhost (127.0.0.1) 5000 port [tcp/*] succeeded! GET / Welcome! Password is FDZPmh5AX3oiJt admin@i-098403fc39803a851:~$ curl -u FDZPmh5AX3oiJt localhost:5000 Enter host password for user 'FDZPmh5AX3oiJt':
paris/i-098403fc39803a851 01:49
by SadServerscat: /etc/sudoers: Permission denied admin@i-092d4cf55fa0651c2:~$ sudo python3 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: sudo: a password is required admin@i-092d4cf55fa0651c2:~$ ls agent webserver.py admin@i-092d4cf55fa0651c2:~$ ps aux |grep webserver
paris/i-092d4cf55fa0651c2 04:06
by SadServersDisk identifier: 0xb43838c3 Device Boot Start End Sectors Size Id Type /dev/nvme2n1p1 2048 2097151 2095104 1023M 8e Linux LVM admin@i-0e9eb0be2a0842a52:~$ pvcreate /dev/nvme1n1p1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0e9eb0be2a0842a52:~$ sudo pvcreate /dev/nvme1n1p1 /dev/nvme2n1p1 Physical volume "/dev/nvme1n1p1" successfully created. Physical volume "/dev/nvme2n1p1" successfully created. admin@i-0e9eb0be2a0842a52:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb1 lvm2 --- 1023.00m 1023.00m /dev/sdc1 lvm2 --- 1023.00m 1023.00m admin@i-0e9eb0be2a0842a52:~$ vgcreate