command-line-murders/i-04c95dd1f2f72e32b
by SadServersMore by SadServers
nvme0n1p15 259:4 0 124M 0 part /boot/efi └─nvme0n1 259:1 0 8G 0 disk nvme2n1 259:5 0 1G 0 disk admin@i-095d1fb01387c9e32:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk nvme0n1p1 259:2 0 7.9G 0 part / nvme0n1p14 259:3 0 3M 0 part nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-095d1fb01387c9e32:~$ 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-095d1fb01387c9e32:~$ sudopvcreate /dev/nvme1n1 /dev/nvme2n1
kihei/i-095d1fb01387c9e32 01:25
by SadServersroot@i-04030e005632001c7:/home/admin# df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 388K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi tmpfs 46M 0 46M 0% /run/user/0 root@i-04030e005632001c7:/home/admin# cd /home/admin/ root@i-04030e005632001c7:/home/admin# ls agent data datafile kihei root@i-04030e005632001c7:/home/admin# mkdir /tmp/admin root@i-04030e005632001c7:/home/admin# mount /dev/mapper/vg_sad-lv_sadservers /
kihei/i-04030e005632001c7 13:44
by SadServersdrwxr-xr-x 2 admin root 4096 Sep 17 17:28 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0847c56ed353b4fb9:~$ sudo -l Matching Defaults entries for admin on i-0847c56ed353b4fb9: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sn User admin may run the following commands on i-0847c56ed353b4fb9: (ALL : ALL) ALL (ALL) NOPASSWD: ALL (ALL) NOPASSWD: ALL (ALL) NOPASSWD: ALL (ALL) NOPASSWD: /sbin/shutdown admin@i-0847c56ed353b4fb9:~$ rm .bash