command-line-murders/i-0764e1fa79a97f2a3
by SadServersMore by SadServers
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-0fc7184f11dca317e:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme2n1 259:1 0 1G 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 nvme1n1 259:5 0 1G 0 disk admin@i-0fc7184f11dca317e:~$ 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-0fc7184f11dca317e:~$ sudo
kihei/i-0fc7184f11dca317e 01:25
by SadServers./main.go:64 +0x47d admin@i-0c3333eed07916caf:~$ ./kihei -verbose Creating file /home/admin/data/newdatafile with size 1.5GB... panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0c3333eed07916caf:~$ ps -aux | grep kihei admin 678 0.1 4.1 98320 19452 pts/0 S<l+ 14:22 0:00 /usr/bin/pythc -t kihei/i-0c3333eed07916caf -q -i 2 /var/log/cast/i-0c3333eed07916caf admin 681 0.0 3.1 24456 14868 pts/0 S<+ 14:22 0:00 /usr/bin/pythc -t kihei/i-0c3333eed07916caf -q -i 2 /var/log/cast/i-0c3333eed07916caf admin 828 0.0 0.1 5264 640 pts/1 S<+ 14:25 0:00 grep kihei admin@i-0c3333eed07916caf:~$ df
kihei/i-0c3333eed07916caf 03:39
by SadServersadmin@i-0ff481abe0645dbdb:~$ curl localhost:5000 Unauthorizedadmin@i-0ff481abe0645dbdb:~$ ls agent webserver.py admin@i-0ff481abe0645dbdb:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0ff481abe0645dbdb:~$ ls agent webserver.py admin@i-0ff481abe0645dbdb:~$ s