paris/i-093333d0150041494
by SadServersMore by SadServers
Proto Recv-Q Send-Q Local Address Foreign Address State 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 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN udp 0 0 127.0.0.1:323 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp6 0 0 fe80::887:7cff:fef3:546 :::* udp6 0 0 ::1:323 :::* admin@i-08aea6778f2336813:~$ ls agent webserver.py admin@i-08aea6778f2336813:~$ nc localhost 5000 GET /
paris/i-08aea6778f2336813 01:30
by SadServersWe 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: sudo: 1 incorrect password attempt admin@i-0b198c8d4f91ca85b:~$ ^C admin@i-0b198c8d4f91ca85b:~$ admin@i-0b198c8d4f91ca85b:~$
paris/i-0b198c8d4f91ca85b 02:07
by SadServers[sudo] password for admin: Sorry, try again. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 3 incorrect password attempts admin@i-048902c622e991104:~$ su Password: su: Authentication failure admin@i-048902c622e991104:~$ systemctl status nginx Unit nginx.service could not be found. admin@i-048902c622e991104:~$ systemctl status apache2 Unit apache2.service could not be found. admin@i-048902c622e991104:~$ curl -I local
paris/i-048902c622e991104 02:58
by SadServersTasks: 1 (limit: 521) Memory: 21.5M CPU: 394ms CGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 08:20:08 i-003e48bbc8151d53a systemd[1]: Started Flask Application. Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Serving Flask app 'webserveDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Debug mode: off Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: WARNING: This is a developmentDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Running on http://127.0.0.1Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: Press CTRL+C to quit admin@i-003e48bbc8151d53a:~$ vim /etc/systemd/system/flaskapp.service admin@i-003e48bbc8151d53a:~$ vim /home/admin/webserver.py admin@i-003e48bbc8151d53a:~$ system