kihei/i-0a59bab7c4f4d5558
by SadServersMore by SadServers
admin 795 691 0 13:08 pts/1 00:00:00 ps -ef admin@i-0f74600404c71b126:~$ admin@i-0f74600404c71b126:~$ admin@i-0f74600404c71b126:~$ ls agent webserver.py admin@i-0f74600404c71b126:~$ vi webserver.py admin@i-0f74600404c71b126:~$ cd agent/ admin@i-0f74600404c71b126:~/agent$ ls check.sh sadagent sadagent.txt admin@i-0f74600404c71b126:~/agent$ cd admin@i-0f74600404c71b126:~$ ls -rtl total 8 -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent admin@i-0f74600404c71b126:~$ curl localh
paris/i-0f74600404c71b126 01:48
by SadServerstotal 44 -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwx------ 3 admin admin 4096 Sep 20 2023 .ansible drwxr-xr-x 3 admin admin 4096 Sep 20 2023 .config -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 6 admin admin 4096 Sep 24 2023 . drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rw------- 1 admin admin 365 Mar 22 18:19 .bash_history admin@i-07f4b9072767bd934:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-07f4b9072767bd934:~$ sudo su - roo
paris/i-07f4b9072767bd934 04:45
by SadServersadmin@i-04e823591391d7c45:~$ curl http://localhost:5000/robots.txt <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manualling and try again.</p> admin@i-04e823591391d7c45:~$
paris/i-04e823591391d7c45 02:24
by SadServersadmin@i-0dc1e7b02108a472f:~$ curl localhost:5000 Unauthorizedadmin@i-0dc1e7b02108a472f:~$ curl localhost:5000 GET / Unauthorizedcurl: (6) Could not resolve host: GET curl: (3) URL using bad/illegal format or missing URL admin@i-0dc1e7b02108a472f:~$ admin@i-0dc1e7b02108a472f:~$ curl localhost:5000 GET / Unauthorizedcurl: (6) Could not resolve host: GET curl: (3) URL using bad/illegal format or missing URL admin@i-0dc1e7b02108a472f:~$ admin@i-0dc1e7b02108a472f:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-0dc1e7b02108a472f:~$ cd /home/