command-line-murders/i-040333cb27e21cfb9
by SadServersMore by SadServers
drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0607715dd43c3c574:~$ sudo vi 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-0607715dd43c3c574:~$ curl localhost:5000 Unauthorizedadmin@i-0607715dd43c3c574:~$ curl localhost:5000
paris/i-0607715dd43c3c574 01:22
by SadServersnvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-019554ca9006f06ef:~$ pvcreate /dev/nvme nvme0 nvme0n1 nvme0n1p1 nvme0n1p14 nvme0n1p15 nvme1 nvme1n1 admin@i-019554ca9006f06ef:~$ pvcreate /dev/nvme1n1 /dev/nvme2n WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-019554ca9006f06ef:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-019554ca9006f06ef:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-019554ca9006f06ef:~$
kihei/i-019554ca9006f06ef 04:27
by SadServersnt/ webserver.py admin@i-051f7c5ffc2106615:~$ sudo user 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: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-051f7c5ffc2106615:~$ vim
paris/i-051f7c5ffc2106615 02:36
by SadServersalternatives.log btmp cloud-init-output.log debug journal messages apt cast cloud-init.log dpkg.log kern.log minio.log auth.log chrony daemon.log faillog lastlog private admin@i-04f72e0d6e94a8af3:~$ vim /var/log/syslog admin@i-04f72e0d6e94a8af3:~$ grep kihei . grep: .: Is a directory admin@i-04f72e0d6e94a8af3:~$ grep kihei ./** grep: ./agent: Is a directory grep: ./data: Is a directory admin@i-04f72e0d6e94a8af3:~$ cd ../ admin@i-04f72e0d6e94a8af3:/home$ ls admin admin@i-04f72e0d6e94a8af3:/home$ cd ~ admin@i-04f72e0d6e94a8af3:~$ cd /var/log admin@i-04f72e0d6e94a8af3:/var/log$ grep kihei