kihei/i-08604040ea56a1548
by SadServersMore by SadServers
admin@i-0098b25085dae6810:~$ sudo cat 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: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-0098b25085dae6810:~$ curl localhost:5000 Unauthorizedadmin@i-0098b25085dae6810:~$
paris/i-0098b25085dae6810 00:47
by SadServersWelcome! Password is FDZPmh5AX3oiJt^C admin@i-06cc86bd8a997be11:~$ echo FDZP^C admin@i-06cc86bd8a997be11:~$ echo GET / |nc -v localhost 5000 Connection to localhost (127.0.0.1) 5000 port [tcp/*] succeeded! ^C admin@i-06cc86bd8a997be11:~$ nc -v localhost 5000 <<< echo GET / nc: port number invalid: GET admin@i-06cc86bd8a997be11:~$ nc -v localhost 5000 <<< echo GET /
paris/i-06cc86bd8a997be11 02:13
by SadServerstotal 52 drwxr-xr-x 7 admin admin 4096 Sep 20 17:51 . 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 57 Sep 20 15:58 .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 20 17:51 agent -rw-r--r-- 1 admin root 705 Sep 20 17:51 consumer.py -rw-r--r-- 1 admin root 760 Sep 20 17:51 producer.py drwxr-xr-x 2 root root 4096 May 16 2022 rabbitmq-cluster-docker-master admin@i-0dd91a304b34f6d63:~$