root 583 0.0 1.5 13352 7176 ? Ss 10:47 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups root 584 0.1 0.3 2872 1724 tty1 Ss+ 10:47 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux root 585 0.0 0.4 4396 2156 ttyS0 Ss+ 10:47 0:00 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,38400,9600 ttyS0 vt220 _chrony 587 0.0 0.7 10852 3724 ? S 10:47 0:00 /usr/sbin/chronyd -F 1 _chrony 588 0.0 0.1 10724 552 ? S 10:47 0:00 /usr/sbin/chronyd -F 1 root 607 0.0 3.7 26612 17372 ? Ss 10:47 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdo root 679 0.0 0.0 0 0 ? I 10:47 0:00 [kworker/0:4-events] admin 710 0.0 0.9 6740 4416 pts/0 S<s+ 10:48 0:00 bash -l admin 714 0.1 4.1 98188 19232 pts/0 R<l+ 10:48 0:00 /usr/bin/python3 /usr/bin/asciinema rec -t paris/i-027eaff16231aee6e -q - admin 717 0.0 3.0 24456 14384 pts/0 S<+ 10:48 0:00 /usr/bin/python3 /usr/bin/asciinema rec -t paris/i-027eaff16231aee6e -q - admin 718 0.0 0.1 2480 572 pts/1 S<s 10:48 0:00 sh -c /bin/bash admin 719 0.0 0.9 6820 4556 pts/1 S< 10:48 0:00 /bin/bash admin 760 0.0 0.6 8648 3168 pts/1 R<+ 10:49 0:00 ps aux admin@i-027eaff16231aee6e:~$ ls agent webserver.py admin@i-027eaff16231aee6e:~$ vim webserver.py admin@i-027eaff16231aee6e:~$ sudo vim 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: sudo: a password is required admin@i-027eaff16231aee6e:~$ lsof /home/admin/webserver.py admin@i-027eaff16231aee6e:~$ mpstat 1 bash: mpstat: command not found admin@i-027eaff16231aee6e:~$ vmstat 1 1 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 188548 16960 163212 0 0 276 51 81 123 1 1 97 0 0 admin@i-027eaff16231aee6e:~$
paris/i-027eaff16231aee6e
by SadServersMore by SadServers
admin@i-0fa82171f11fb6464:~$ whereis mc mc: /usr/bin/mc admin@i-0fa82171f11fb6464:~$ cd /usr/local/ bin/ etc/ games/ include/ lib/ man/ sbin/ share/ src/ admin@i-0fa82171f11fb6464:~$ cd /usr/local/bin/ admin@i-0fa82171f11fb6464:/usr/local/bin$ ls flask admin@i-0fa82171f11fb6464:/usr/local/bin$ ls -ah . .. flask admin@i-0fa82171f11fb6464:/usr/local/bin$ ls -lah total 12K drwxr-xr-x 2 root root 4.0K Sep 24 23:20 . drwxr-xr-x 10 root root 4.0K Sep 20 15:53 .. -rwxr-xr-x 1 root root 208 Sep 24 23:20 flask admin@i-0fa82171f11fb6464:/usr/local/bin$ where ping