ivujivik/i-0cb2fe887f3a8fa52
by SadServersMore by SadServers
admin@i-0149d73fc6370539f:~$ nmap -p- localhost Starting Nmap 7.80 ( https://nmap.org ) at 2023-11-02 14:45 UTC Nmap scan report for localhost (127.0.0.1) Host is up (0.0021s latency). Not shown: 65531 closed ports PORT STATE SERVICE 22/tcp open ssh 5000/tcp open upnp 6767/tcp open bmc-perf-agent 8080/tcp open http-proxy Nmap done: 1 IP address (1 host up) scanned in 1.95 seconds admin@i-0149d73fc6370539f:~$ docker ps
paris/i-0149d73fc6370539f 00:43
by SadServersadmin@i-09ca4fe48eca1e59f:~$ ls agent index.html webserver.py admin@i-09ca4fe48eca1e59f:~$ cat index.html Unauthorizedadmin@i-09ca4fe48eca1e59f:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. admin@i-09ca4fe48eca1e59f:~$ nc localhost 5000 GET 、 GET / ^C admin@i-09ca4fe48eca1e59f:~$ nc localhost 5000
paris/i-09ca4fe48eca1e59f 01:59
by SadServersadmin@i-0ef39eb9f44fc6704:~/agent$ ls check.sh sadagent sadagent.txt admin@i-0ef39eb9f44fc6704:~/agent$ cat check.sh #!/bin/bash expected_checksum="d8bee9d7f830d5fb59b89e1e120cce8e" actual_checksum=$(md5sum /home/admin/mysolution | awk '{print $1}') if [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-0ef39eb9f44fc6704:~/agent$ cat sa
paris/i-0ef39eb9f44fc6704 01:37
by SadServers-rw------- 1 admin admin 338 Nov 6 22:15 .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 2023 .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 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0e8108e3a59a33ce2:~$ cat /etc/sudoers cat: /etc/sudoers: Permission denied admin@i-0e8108e3a59a33ce2:~$ cat /etc/sudoers.d/ cat: /etc/sudoers.d/: Permission denied admin@i-0e8108e3a59a33ce2:~$ cat /etc/sudo sudo.conf sudo_logsrvd.conf sudoers sudoers.d/ admin@i-0e8108e3a59a33ce2:~$ cat /etc/sudo