command-line-murders/i-0d77cecfeb6f45e24
by SadServersMore by SadServers
linux-gnu/libpthread-2.31.so lsof 769 admin mem REG 259,1 1868linux-gnu/libdl-2.31.so lsof 769 admin mem REG 259,1 61712linux-gnu/libpcre2-8.so.0.10.1 lsof 769 admin mem REG 259,1 190153linux-gnu/libc-2.31.so lsof 769 admin mem REG 259,1 16612linux-gnu/libselinux.so.1 lsof 769 admin mem REG 259,1 17792linux-gnu/ld-2.31.so lsof 769 admin 4r FIFO 0,11 0tlsof 769 admin 7w FIFO 0,11 0tadmin@i-059fb7e158508f014:~$ lsof |grep webserver admin@i-059fb7e158508f014:~$ lsof |grep .pyu
paris/i-059fb7e158508f014 01:33
by SadServers11M agent 4.0K data 0 datafile 2.2M kihei 13M total root@i-06a5b7a418159c2e8:/home/admin# df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 384K 46M 1% /run /dev/nvme0n1p1 7.7G 1.1G 6.2G 15% / 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-06a5b7a418159c2e8:/home/admin#
kihei/i-06a5b7a418159c2e8 02:17
by SadServersVolume group "vg" successfully created admin@i-0f9027f0b6fdf5892:~$ 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 version). striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-0f9027f0b6fdf5892:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv
kihei/i-0f9027f0b6fdf5892 00:44
by SadServers./main.go:64 +0x47d admin@i-050d914f485befec2:~$ admin@i-050d914f485befec2:~$ admin@i-050d914f485befec2:~$ mv data/datafile ./ admin@i-050d914f485befec2:~$ ls agent data datafile kihei admin@i-050d914f485befec2:~$ admin@i-050d914f485befec2:~$ admin@i-050d914f485befec2:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Oct 27 10:34 data -rwxrwxrwx 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-050d914f485befec2:~$ chown -udatafile