command-line-murders/i-0e8197f2b313e2bed
by SadServersMore by SadServers
./main.go:64 +0x47d admin@i-012a3c759519cd682:~$ cd /home/admin/ admin@i-012a3c759519cd682:~$ ls agent data datafile kihei admin@i-012a3c759519cd682:~$ ls -li total 5245048 264663 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent 278531 drwxr-xr-x 2 admin root 4096 Dec 11 16:09 data 264701 -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile 264672 -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-012a3c759519cd682:~$ sudo chown admin.root datafile admin@i-012a3c759519cd682:~$ ls -li^C admin@i-012a3c759519cd682:~$ ./kh bash: ./kh: No such file or directory admin@i-012a3c759519cd682:~$ ./kh
kihei/i-012a3c759519cd682 01:42
by SadServersPhysical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-03eb810c59173e466:~$ vgcreate vg /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-03eb810c59173e466:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-03eb810c59173e466:~$ lvcreate -n lv -l 100%FREE vg WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown ver striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-03eb810c59173e466:~$ lvcreate -n lv -l 100%FREE vg
kihei/i-03eb810c59173e466 05:03
by SadServersudev 217M 0 217M 0% /dev tmpfs 46M 368K 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 admin@i-07917131998840ecb:~$ df -i Filesystem Inodes IUsed IFree IUse% Mounted on udev 55457 307 55150 1% /dev tmpfs 58292 441 57851 1% /run /dev/nvme0n1p1 516096 32800 483296 7% / tmpfs 58292 4 58288 1% /dev/shm tmpfs 58292 3 58289 1% /run/lock /dev/nvme0n1p15 0 0 0 - /boot/efi admin@i-07917131998840ecb:~$ strace -e open,openat,creat,wr