command-line-murders/i-0d97aa552e36141a5
by SadServersMore by SadServers
[:delay_enter=DELAY][:delay_exit=DELAY][:when=WHEN], --inject=SET[:error=ERRNO|:retval=VALUE][:signal=SIG][:syscall=SYSCALL] [:delay_enter=DELAY][:delay_exit=DELAY][:when=WHEN] perform syscall tampering for the syscalls in SET delay: microseconds or NUMBER{s|ms|us|ns} when: FIRST[..LAST][+[STEP]] -e fault=SET[:error=ERRNO][:when=WHEN], --fault=SET[:error=ERRNO][:when=WHEN] synonym for -e inject with default ERRNO set to ENOSYS. Miscellaneous: -d, --debug enable debug output to stderr -h, --help print help message --seccomp-bpf enable seccomp-bpf filtering -V, --version print version admin@i-054157b3157fdc4cd:~$ strace ./kihei -v
kihei/i-054157b3157fdc4cd 01:21
by SadServersadmin@i-0dcdab756bd34fbc5:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 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-0dcdab756bd34fbc5:~$ admin@i-0dcdab756bd34fbc5:~$ ls agent data datafile kihei admin@i-0dcdab756bd34fbc5:~$ cat
kihei/i-0dcdab756bd34fbc5 00:25
by SadServersPhysical volume "/dev/nvme2n1" successfully created. Volume group "data-vg" successfully extended admin@i-0979fd02169b64a92:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree data-vg 2 0 0 wz--n- 1.99g 1.99g admin@i-0979fd02169b64a92:~$ sudo lvcreate --size 1.99g --type linear -n datalv1 data-vg Rounding up size to full physical extent 1.99 GiB Logical volume "datalv1" created. admin@i-0979fd02169b64a92:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert datalv1 data-vg -wi-a----- 1.99g admin@i-0979fd02169b64a92:~$ sudo mkfs -t ext