command-line-murders/i-0a2012c5b0c99948f
by SadServersMore by SadServers
drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0a40943c8c217e6da:~$ vim webserver.py admin@i-0a40943c8c217e6da:~$ sudo su 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: Sorry, try again. [sudo] password for admin:
paris/i-0a40943c8c217e6da 00:30
by SadServersCOMMAND 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 SadServersroot 570 0.1 6.0 107132 28456 ? Ss 20:44 0:00 /usr/bin/pyth.py root 574 0.0 0.9 220796 4352 ? Ssl 20:44 0:00 /usr/sbin/rsyroot 579 0.0 1.4 13500 6772 ? Ss 20:44 0:00 /lib/systemd/root 582 0.0 0.3 2872 1676 tty1 Ss+ 20:44 0:00 /sbin/agetty 1 linux root 583 0.0 0.4 4396 2104 ttyS0 Ss+ 20:44 0:00 /sbin/agetty 15200,57600,38400,9600 ttyS0 vt220 root 584 0.0 1.5 13352 7184 ? Ss 20:44 0:00 sshd: /usr/sbf 10-100 startups _chrony 586 0.0 0.7 10852 3700 ? S 20:44 0:00 /usr/sbin/chr_chrony 588 0.0 0.1 10724 552 ? S 20:44 0:00 \_ /usr/sbinroot 589 0.0 3.6 26612 17248 ? Ss 20:44 0:00 /usr/bin/pyth-upgrades/unattended-upgrade-shutdown --wait-for-signal admin@i-07f79c3179505d899:~$