admin@i-0c8aeb0a6e13b348e:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. quit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>Error response</title> </head> <body> <h1>Error response</h1> <p>Error code: 400</p> <p>Message: Bad request syntax ('quit').</p> <p>Error code explanation: HTTPStatus.BAD_REQUEST - Bad request syntax or unsupported method.</p> </body> </html> Connection closed by foreign host. admin@i-0c8aeb0a6e13b348e:~$ netstat -tulpn | grep 5000 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN - admin@i-0c8aeb0a6e13b348e:~$ ss -tulpn | grep 5000 tcp LISTEN 0 128 127.0.0.1:5000 0.0.0.0:* admin@i-0c8aeb0a6e13b348e:~$ nmap localhost -p 5000 Starting Nmap 7.80 ( https://nmap.org ) at 2023-12-27 11:24 UTC Nmap scan report for localhost (127.0.0.1) Host is up (0.000090s latency). PORT STATE SERVICE 5000/tcp open upnp Nmap done: 1 IP address (1 host up) scanned in 0.21 seconds admin@i-0c8aeb0a6e13b348e:~$ ps aux | grep upnp admin 704 0.0 0.1 5264 708 pts/1 S<+ 11:24 0:00 grep upnp admin@i-0c8aeb0a6e13b348e:~$ px aux | grep 5000 bash: px: command not found admin@i-0c8aeb0a6e13b348e:~$ ps aux | grep 5000
paris/i-0c8aeb0a6e13b348e
by SadServersMore by SadServers
admin@i-0ae89bce1453c6828:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Oct 25 16:29 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-0ae89bce1453c6828:~$ ls data appdiskmnt admin@i-0ae89bce1453c6828:~$ rm data/appdiskmnt admin@i-0ae89bce1453c6828:~$ rmdir data/ admin@i-0ae89bce1453c6828:~$ sudo ln -s /mnt/appdiskmnt/ /home/admin/data/ ln: failed to create symbolic link '/home/admin/data/': No such file or directoradmin@i-0ae89bce1453c6828:~$ ls agent datafile kihei admin@i-0ae89bce1453c6828:~$ sudo ln -s /mnt/appdiskmnt/ /home/admin/data/
kihei/i-0ae89bce1453c6828 10:59
by SadServers# kihei runs succesfully res=$(/home/admin/kihei) res=$(echo $res|tr -d '\r') if [[ "$res" = "Done." ]] then echo -n "OK" else echo -n "NO" fi admin@i-0afe27aa1ce9cfeda:~/agent$ ls -l /home/admin/datafile |cut -d' ' -f 5 5368709120 admin@i-0afe27aa1ce9cfeda:~/agent$ ls -l /home/admin/datafile -rw-r--r-- 1 root root 5368709120 Sep 17 2023 /home/admin/datafile admin@i-0afe27aa1ce9cfeda:~/agent$