command-line-murders/i-081110191cbbc76be
by SadServersMore by SadServers
Tasks: 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
paris/i-003e48bbc8151d53a 02:52
by SadServersadmin@i-01938499a23dd6d8b:~$ curl http://localhost:5000 Unauthorizedadmin@i-01938499a23dd6d8b:~$ curl https://localhost:5000 curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number admin@i-01938499a23dd6d8b:~$ strace -p 573 strace: attach: ptrace(PTRACE_SEIZE, 573): Operation not permitted admin@i-01938499a23dd6d8b:~$ sudo strace -p 573 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-01938499a23dd6d8b 05:03
by SadServers-rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-056d7eb6f3afcb862:~$ 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: sudo: a password is required admin@i-056d7eb6f3afcb862:~$ locate webserver.py bash: locate: command not found admin@i-056d7eb6f3afcb862:~$ find / -nwebserver.py