paris/i-06898348f67e369be
by SadServersMore by SadServers
~ ~ ~ ~ ~ ~ ~ ~ admin@i-0780ef3211c9664fa:~$ curl --user-agent "whate" localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-0780ef3211c9664fa:~$ admin@i-0780ef3211c9664fa:~$ curl --user-agent localhost:5000 curl: no URL specified! curl: try 'curl --help' or 'curl --manual' for more information admin@i-0780ef3211c9664fa:~$ curl --user-agent localhost:5000
paris/i-0780ef3211c9664fa 01:24
by SadServersnewfstatat(AT_FDCWD, "/usr/sbin/fallocate", 0xc000012d38, 0) = -1 ENOENT (No sucnewfstatat(AT_FDCWD, "/usr/bin/fallocate", {st_mode=S_IFREG|0755, st_size=35048,openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CLOEXEC) = 7 openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CLOEXEC) = 8 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=698, si_uid=1000, si_sme=0} --- unlinkat(AT_FDCWD, "/home/admin/data/newdatafile", 0) = 0 panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d +++ exited with 2 +++ admin@i-048eed74781c3e02b:~$ strace -e trace=file ./kihei
kihei/i-048eed74781c3e02b 00:23
by SadServerstcp 0 0 127.0.0.1:33060 127.0.0.1:5000 TIME_WAIT tcp 0 0 127.0.0.1:53540 127.0.0.1:5000 TIME_WAIT admin@i-033468d33a03be844:~$ sudo netstat -natup | grep 5000 We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-033468d33a03be844:~$ sudo
paris/i-033468d33a03be844 01:03
by SadServersdrwxr-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