kihei/i-062042b0fb20a2893
by SadServersMore by SadServers
[sudo] password for admin: 3Sorry, try again. [sudo] password for admin: adminSorry, try again. [sudo] password for admin: admin sudo: 3 incorrect password attempts admin@i-0b7facb522ba65534:~$ admin bash: admin: command not found admin@i-0b7facb522ba65534:~$ docker ps bash: docker: command not found admin@i-0b7facb522ba65534:~$ ls agent webserver.py admin@i-0b7facb522ba65534:~$ ls
paris/i-0b7facb522ba65534 01:47
by SadServersagent webserver.py admin@i-0fcbbedeb8752ba6f:~$ ls -la total 44 drwxr-xr-x 6 admin admin 4096 Sep 24 23:20 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 296 Oct 20 18:46 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0fcbbedeb8752ba6f:~$ curl X localhost:5000
paris/i-0fcbbedeb8752ba6f 01:50
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:~$