command-line-murders/i-09c42651338471a0e
by SadServersMore by SadServers
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME gotty 546 admin 6u IPv6 10655 0t0 TCP *:http-alt (LISTEN) gotty 546 admin 7u IPv6 11010 0t0 TCP ip-172-31-39-38.us-east-2.co-172-31-16-109.us-east-2.compute.internal:40862 (ESTABLISHED) sadagent 547 admin 7u IPv6 10631 0t0 TCP *:6767 (LISTEN) admin@i-0ec94a674eea95352:~$ nc localhost:5000 & [1] 899 admin@i-0ec94a674eea95352:~$ nc: missing port number nc -lvvp localhost:5000 nc: getaddrinfo: Servname not supported for ai_socktype [1]+ Exit 1 nc localhost:5000 admin@i-0ec94a674eea95352:~$ fg bash: fg: current: no such job admin@i-0ec94a674eea95352:~$ nc localhost 5000
paris/i-0ec94a674eea95352 04:22
by SadServersadmin@i-0fb37f0ce1aec9594:~$ ls agent data datafile kihei admin@i-0fb37f0ce1aec9594:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0fb37f0ce1aec9594:~$ cp kihei /mnt cp: cannot create regular file '/mnt/kihei': Permission denied admin@i-0fb37f0ce1aec9594:~$ sudo mkdir /mnt/kihei admin@i-0fb37f0ce1aec9594:~$ sudo chown admin:admin /mnt/kihei/ admin@i-0fb37f0ce1aec9594:~$ cp kihei /
kihei/i-0fb37f0ce1aec9594 08:37
by SadServers</html>admin@i-0aba1e71324f27776:~$ cd /var/www/html/ admin@i-0aba1e71324f27776:/var/www/html$ ls index.html admin@i-0aba1e71324f27776:/var/www/html$ cat index.html cat: index.html: Permission denied admin@i-0aba1e71324f27776:/var/www/html$ cd /home/ admin@i-0aba1e71324f27776:/home$ ls admin admin@i-0aba1e71324f27776:/home$ cd ~ admin@i-0aba1e71324f27776:~$ ls agent admin@i-0aba1e71324f27776:~$ cd agent/ admin@i-0aba1e71324f27776:~/agent$ ls check.sh sadagent sadagent.txt admin@i-0aba1e71324f27776:~/agent$ cd ~
taipei/i-0aba1e71324f27776 06:14
by SadServersusage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-irectory] [-T timeout] [-u user] file ... admin@i-028f47879cdca548e:~$ sudo cat webserver.py 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: