command-line-murders/i-0a5c011d9245b6279
by SadServersMore by SadServers
admin@i-0882f1970f3e43d1f:~$ ls agent data datafile kihei admin@i-0882f1970f3e43d1f:~$ du -sh 5.1G . admin@i-0882f1970f3e43d1f:~$ du -sh /home/admin 5.1G /home/admin admin@i-0882f1970f3e43d1f:~$ du -sh /home/admin/agent/ 11M /home/admin/agent/ admin@i-0882f1970f3e43d1f:~$ du -sh /home/admin/agent/
kihei/i-0882f1970f3e43d1f 03:39
by SadServersMemory: 21.9M CPU: 361ms CGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Nov 04 08:00:38 i-0ff13c81e3a7b9d0a systemd[1]: Started Flask Application. Nov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: * Serving Flask app 'webserveNov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: * Debug mode: off Nov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: WARNING: This is a developmentNov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: * Running on http://127.0.0.1Nov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: Press CTRL+C to quit Nov 04 08:02:22 i-0ff13c81e3a7b9d0a python3[574]: 127.0.0.1 - - [04/Nov/2023 08:admin@i-0ff13c81e3a7b9d0a:~$ ls agent webserver.py (reverse-i-search)`les': less /etc/systemd/system/flaskapp.service
paris/i-0ff13c81e3a7b9d0a 01:59
by SadServerscat: /etc/sudoers: Permission denied admin@i-092d4cf55fa0651c2:~$ sudo python3 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-092d4cf55fa0651c2:~$ ls agent webserver.py admin@i-092d4cf55fa0651c2:~$ ps aux |grep webserver