command-line-murders/i-04e80dba2b5cc25c7
by SadServersMore by SadServers
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-0e1a08f83bf27aeb8:~$ ss -tuln | grep :5000 tcp LISTEN 0 128 127.0.0.1:5000 0.0.0.0:* admin@i-0e1a08f83bf27aeb8:~$ ^C admin@i-0e1a08f83bf27aeb8:~$ ps -p 128 PID TTY TIME CMD admin@i-0e1a08f83bf27aeb8:~$
paris/i-0e1a08f83bf27aeb8 02:47
by SadServerswrite(2, "main.main", 9main.main) = 9 write(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0dbd6bcf8844d2d21:~$
kihei/i-0dbd6bcf8844d2d21 03:54
by SadServersadmin@i-094407eb5173ca7f2:~$ telnet loaclhost 5000 telnet: could not resolve loaclhost/5000: Name or service not known admin@i-094407eb5173ca7f2:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / Welcome! Password is FDZPmh5AX3oiJtConnection closed by foreign host. admin@i-094407eb5173ca7f2:~$ curl --insecure --anyauth -u admin:passowrd -X GET Unauthorizedadmin@i-094407eb5173ca7f2:~$ curl --insecure --anyauth -u admin:pass admin@i-094407eb5173ca7f2:~$ admin@i-094407eb5173ca7f2:~$ admin@i-094407eb5173ca7f2:~$ curl --insecure --anyauth -u admin:FDZPmh5AX3oiJt -
paris/i-094407eb5173ca7f2 04:03
by SadServerstmpfs 228M 24K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi /dev/mapper/vg1-lv1 1.5G 24K 1.4G 1% /home/admin/data admin@i-0224ff79a91857889:~$ ls data lost+found admin@i-0224ff79a91857889:~$ ./kihei panic: remove /home/admin/data/newdatafile: no such file or directory goroutine 1 [running]: main.main() ./main.go:62 +0x465 admin@i-0224ff79a91857889:~$ ls data lost+found admin@i-0224ff79a91857889:~$ l