command-line-murders/i-08bbf01048fbe72b0
by SadServersMore by SadServers
drwxr-xr-x 2 admin root 4.0K Oct 26 12:42 data -rw-r--r-- 1 admin admin 5.0M Sep 17 17:28 datafile.gz -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-0dabf03a12f2ad847:~$ 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 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 admin@i-0dabf03a12f2ad847:~$ ./kihei Done. admin@i-0dabf03a12f2ad847:~$ mv datafile.gz datafile admin@i-0dabf03a12f2ad847:~$ strace ./k
kihei/i-0dabf03a12f2ad847 07:26
by SadServerstmpfs 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-0189e4926341da6e5:~$ ls -lrt /home/admin/kihei -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 /home/admin/kihei admin@i-0189e4926341da6e5:~$ /home/admin/kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0189e4926341da6e5:~$ cd /home/admin admin@i-0189e4926341da6e5:~$ ls agent data datafile kihei admin@i-0189e4926341da6e5:~$ strace
kihei/i-0189e4926341da6e5 01:15
by SadServersConnecting to localhost (localhost)|127.0.0.1|:5000... connected. HTTP request sent, awaiting response... 200 OK Length: 12 [text/html] index.html: Permission denied Cannot write to ‘index.html’ (Permission denied). admin@i-060882b6b7423c159:/etc/python3$ cd .. admin@i-060882b6b7423c159:/etc$ cd .. admin@i-060882b6b7423c159:/$ find "index.html" find: ‘index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find *"index.html" find: ‘*index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find */"index.html" find: ‘*/index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find */"index.html"