paris/i-01cf0f52ecf5df661
by SadServersMore by SadServers
drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Sep 17 17:28 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-011967f767ae5a17a:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-011967f767ae5a17a:~$ vim kihei admin@i-011967f767ae5a17a:~$ cd data admin@i-011967f767ae5a17a:~/data$ ls admin@i-011967f767ae5a17a:~/data$ cd ../ admin@i-011967f767ae5a17a:~$ ca
kihei/i-011967f767ae5a17a 00:52
by SadServersdrwxrwsr-x 2 root mail 4096 Sep 28 2021 mail drwxr-xr-x 2 root root 4096 Sep 28 2021 opt lrwxrwxrwx 1 root root 4 Sep 28 2021 run -> /run drwxr-xr-x 4 root root 4096 Sep 28 2021 spool drwxrwxrwt 5 root root 4096 Feb 6 04:38 tmp admin@i-0746e5b388abec5a6:/var$ curl localhost:5000 Unauthorizedadmin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ wget localhost:
paris/i-0746e5b388abec5a6 01:42
by SadServerswrite(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-05088a4f1fc43f619:~$ strace ./kihei 2>&1 | grep datafile newfstatat(AT_FDCWD, "/home/admin/data/newdatafile", 0xc00008e9f8, 0) = -1 ENOENunlinkat(AT_FDCWD, "/home/admin/data/newdatafile", 0) = 0 admin@i-05088a4f1fc43f619:~$ cd data admin@i-05088a4f1fc43f619:~/data$ ls -al total 8 drwxr-xr-x 2 admin root 4096 Dec 5 09:17 . drwxr-xr-x 7 admin admin 4096 Dec 5 09:12 .. admin@i-05088a4f1fc43f619:~/data$ touch newdatafile admin@i-05088a4f1fc43f619:~/data$ strace .../kihei 2>&1 | grep datafile