command-line-murders/i-071c8194e55528ee9
by SadServersMore by SadServers
will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0c165f3a208accd57:~$ sudo netstat -tulnp | grep 5000 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: Sorry, try again. [sudo] password for admin:
paris/i-0c165f3a208accd57 02:26
by SadServers#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-033b6c6ec40e2452e:~$ lsof -i :5000 admin@i-033b6c6ec40e2452e:~$ netstat -ano | findstr :5000 bash: findstr: command not found admin@i-033b6c6ec40e2452e:~$ ls agent webserver.py admin@i-033b6c6ec40e2452e:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-033b6c6ec40e2452e:~$ cat webserver.py
paris/i-033b6c6ec40e2452e 01:56
by SadServers> GET / HTTP/1.1 > Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Sat, 25 Jan 2025 12:59:58 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-07858c807135c8851:~$ curl -vvv localhost:5000
paris/i-07858c807135c8851 05:07
by SadServers-rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile admin@i-061fdb9cf7dfc377a:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-061fdb9cf7dfc377a:~$ sudo vi 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-061fdb9cf7dfc377a:~$