command-line-murders/i-0a41c6255b5fa3830
by SadServersMore by SadServers
> Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > user: pass > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Fri, 15 Nov 2024 11:57:16 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-038502ad8c30726f2:~$ curl -H "user: pass" http://localhost:5
paris/i-038502ad8c30726f2 02:57
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
paris/i-092d4cf55fa0651c2 04:06
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
paris/i-0f0e461e060a319f7 02:58
by SadServersadmin@i-08bead324c6bc394c:~$ admin@i-08bead324c6bc394c:~$ admin@i-08bead324c6bc394c:~$ netstat -tnlp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN admin@i-08bead324c6bc394c:~$ admin@i-08bead324c6bc394c:~$ admin@i-08bead324c6bc394c:~$