kihei/i-028b46998ca7b18c9
by SadServersMore by SadServers
a.py agent admin@i-037f9d9fabf7ddb74:~$ ls -al total 44 drwxr-xr-x 6 admin admin 4096 Oct 20 18:18 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 1434 Oct 20 18:18 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh -rwxrwx--- 1 root root 360 Sep 24 23:20 a.py drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent admin@i-037f9d9fabf7ddb74:~$
paris/i-037f9d9fabf7ddb74 06:28
by SadServersadmin@i-016fc9e6460102905:~$ curl localhost 5000 curl: (7) Failed to connect to localhost port 80: Connection refused ^C admin@i-016fc9e6460102905:~$ curl localhost:5000 Unauthorizedadmin@i-016fc9e6460102905:~$ vim /usr/bin/as as asciinema admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ /usr/bin/python3 /usr/bin/asciinema rec -t paris asciinema: recording asciicast to /tmp/tmpf1dsbhc8-ascii.cast asciinema: press <ctrl-d> or type "exit" when you're done admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ vim /tmp/tmpf1dsbhc8-ascii.cast admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ vim /home/admin/.bash_history admin@i-016fc9e6460102905:~$
paris/i-016fc9e6460102905 03:47
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:
paris/i-028f47879cdca548e 03:23
by SadServerssystemd-tmpfiles-setup.service loade systemd-udev-trigger.service loade systemd-udevd.service loade systemd-update-utmp.service loade systemd-user-sessions.service loade unattended-upgrades.service loade -.slice loade system-getty.slice loade system-modprobe.slice loade system-serial\x2dgetty.slice loade system-systemd\x2dgrowfs.slice loadeadmin@i-0f0e461e060a319f7:~$ admin@i-0f0e461e060a319f7:~$ admin@i-0f0e461e060a319f7:~$ admin@i-0f0e461e060a319f7:~$ lso