paris/i-0032345432e40698b
by SadServersMore by SadServers
unix 3 [ ] STREAM CONNECTED 11453 unix 3 [ ] STREAM CONNECTED 10664 unix 2 [ ] DGRAM 11425 unix 3 [ ] STREAM CONNECTED 10681 unix 3 [ ] SEQPACKET CONNECTED 11434 unix 3 [ ] STREAM CONNECTED 11349 /run/systemd/journal/unix 3 [ ] STREAM CONNECTED 11478 /run/systemd/journal/unix 2 [ ] DGRAM 10394 admin@i-0b15957f6074fd500:~$ netstat -tuln | grep LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN admin@i-0b15957f6074fd500:~$ curl 127.0.0.1:
paris/i-0b15957f6074fd500 01:37
by SadServersdrwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-08d654c3783758f46:~$ vim webserver.py admin@i-08d654c3783758f46:~$ 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-08d654c3783758f46:~$
paris/i-08d654c3783758f46 01:07
by SadServers- admin 683 0.0 3.1 24456 14820 pts/0 S<+ 19:43 0:00 /usr/bin/python3 /usr/bin/asciinema rec -t paris/i-0186dcafc18038e54 -q - admin 684 0.0 0.1 2480 508 pts/1 S<s 19:43 0:00 sh -c /bin/bash admin 685 0.0 1.0 6952 4772 pts/1 S< 19:43 0:00 /bin/bash root 691 0.0 0.0 0 0 ? I 19:43 0:00 [kworker/u4:4-events_unbound] root 853 0.0 0.0 0 0 ? I 19:47 0:00 [kworker/0:0] admin 855 0.0 0.6 8648 3164 pts/1 R<+ 19:48 0:00 ps aux admin@i-0186dcafc18038e54:~$ ps aux
paris/i-0186dcafc18038e54 04:39
by SadServersadmin@i-0300b63fb986ef336:~/.local$ cd /var/www bash: cd: /var/www: No such file or directory admin@i-0300b63fb986ef336:~/.local$ ls share admin@i-0300b63fb986ef336:~/.local$ cd .. admin@i-0300b63fb986ef336:~$ ls agent webserver.py admin@i-0300b63fb986ef336:~$ tail webserver.py tail: cannot open 'webserver.py' for reading: Permission denied admin@i-0300b63fb986ef336:~$ tail .webserver.py.swp b0nano 5.4�admini-0300b63fb986ef336webserver.pyadmin@i-0300b63fb986ef336:~$ nanoadmin@i-0300b63fb986ef336:~$ cat .webserver.py.swp b0nano 5.4�admini-0300b63fb986ef336webserver.pyadmin@i-0300b63fb986ef336:~$ cat b0nano 5.4�admini-0300b63fb986ef336webserver.pyadmin@i-0300b63fb986ef336:~$ nanoadmin@i-0300b63fb986ef336:~$ echo "somepassword" > ~/mysolution