command-line-murders/i-0f83e8d429758402b
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-086f73e007772b836:~$ 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-086f73e007772b836:~$ 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-086f73e007772b836:~$
kihei/i-086f73e007772b836 01:13
by SadServerswrite(2, " [", 2) = 2 write(2, "running", 7) = 7 write(2, "]:\n", 3) = 3 write(2, "main.main", 9) = 9 write(2, "(", 1) = 1 write(2, ")\n", 2) = 2 write(2, "\t", 1) = 1 write(2, "./main.go", 9) = 9 write(2, ":", 1) = 1 write(2, "64", 2) = 2 write(2, " +", 2) = 2 write(2, "0x47d", 5) = 5 write(2, "\n", 1) = 1 +++ exited with 2 +++ admin@i-0719056d023dd5571:~$
kihei/i-0719056d023dd5571 00:49
by SadServers=5,direct,pipe_ino=807) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatimconfigfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) /dev/nvme0n1p15 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepaortname=mixed,utf8,errors=remount-ro) admin@i-08f29920237256d8d:~$ free -m total used free shared buff/cache availableMem: 455 73 213 0 168 369Swap: 0 0 0 admin@i-08f29920237256d8d:~$ man strace admin@i-08f29920237256d8d:~$ strace ./kihei
kihei/i-08f29920237256d8d 03:41
by SadServersadmin@i-0c17fc97359aff9e0:~$ curl localhost:5000 Unauthorizedadmin@i-0c17fc97359aff9e0:~$ wget localhost:5000 --2024-02-14 03:27:44-- http://localhost:5000/ Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:5000... connected. HTTP request sent, awaiting response... 200 OK Length: 12 [text/html] Saving to: ‘index.html’ index.html 100%[=====================================>] 12 2024-02-14 03:27:44 (210 KB/s) - ‘index.html’ saved [12/12] admin@i-0c17fc97359aff9e0:~$ curl --user-agent "