paris/i-0b1e3b196bdf95a1f
by SadServersMore 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 SadServersadmin@i-08c43809f7342e8fa:~$ cat ~/mysolution Unauthorized admin@i-08c43809f7342e8fa:~$ md5sum ~/mysolution be3c5cdccf225ae191b14b7dcef21246 /home/admin/mysolution admin@i-08c43809f7342e8fa:~$ echo "Unauthorized" > ~/mysolution ^C admin@i-08c43809f7342e8fa:~$ curl --user admin -D- http://localhost:5000/ Enter host password for user 'admin': HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Wed, 27 Dec 2023 18:56:03 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close Unauthorizedadmin@i-08c43809f7342e8fa:~$
paris/i-08c43809f7342e8fa 03:11
by SadServersJan 02 08:42:39 i-06e56fbb61602f300 python3[580]: 127.0.0.1 - - [02/Jan/2025 08:admin@i-06e56fbb61602f300:~$ curl http://127.0.0.1:5000 Unauthorizedadmin@i-06e56fbb61602f300:~$ sudo su 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: [2]+ Stopped sudo su admin@i-06e56fbb61602f300:~$