command-line-murders/i-0eb48aa2284f1e2c1
by SadServersMore by SadServers
rtt min/avg/max/mdev = 0.023/0.031/0.034/0.004 ms admin@i-06ccaf22127d79ccf:~$ curl localhost curl: (7) Failed to connect to localhost port 80: Connection refused admin@i-06ccaf22127d79ccf:~$ dig localhost bash: dig: command not found admin@i-06ccaf22127d79ccf:~$ apt install dig E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission dE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are yadmin@i-06ccaf22127d79ccf:~$ netcat localhost netcat: missing port number admin@i-06ccaf22127d79ccf:~$ netcat localhost:5000 netcat: missing port number admin@i-06ccaf22127d79ccf:~$ ls agent webserver.py admin@i-06ccaf22127d79ccf:~$
paris/i-06ccaf22127d79ccf 01:33
by SadServersdrwxr-xr-x 7 admin admin 4096 Oct 30 17:27 . drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 17 2023 .ansible -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 Oct 30 17:27 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Sep 17 2023 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei root@i-0b90c906ab81ab69c:~# exit exit admin@i-0b90c906ab81ab69c:~$ /home/admin/kihei
kihei/i-0b90c906ab81ab69c 01:56
by SadServers</html>admin@i-0aba1e71324f27776:~$ cd /var/www/html/ admin@i-0aba1e71324f27776:/var/www/html$ ls index.html admin@i-0aba1e71324f27776:/var/www/html$ cat index.html cat: index.html: Permission denied admin@i-0aba1e71324f27776:/var/www/html$ cd /home/ admin@i-0aba1e71324f27776:/home$ ls admin admin@i-0aba1e71324f27776:/home$ cd ~ admin@i-0aba1e71324f27776:~$ ls agent admin@i-0aba1e71324f27776:~$ cd agent/ admin@i-0aba1e71324f27776:~/agent$ ls check.sh sadagent sadagent.txt admin@i-0aba1e71324f27776:~/agent$ cd ~
taipei/i-0aba1e71324f27776 06:14
by SadServersUnauthorizedadmin@i-09ceaaf94time curl http://127.0.0.1:50007.0.0.1:5000 Unauthorized real 0m0.017s user 0m0.008s sys 0m0.008s admin@i-09ceaaf94b2b4036f:~$ curl http://localhost:5000 Unauthorizedadmin@i-09ceaaf94curl -I -L http://localhost:5000calhost:5000 HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Fri, 03 Jan 2025 15:53:33 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close admin@i-09ceaaf94b2b4036f:~$