paris/i-0b0edb32d26a5502b
by SadServersMore 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$
kihei/i-0afe27aa1ce9cfeda 00:59
by SadServerstcp 0 0 127.0.0.1:33060 127.0.0.1:5000 TIME_WAIT tcp 0 0 127.0.0.1:53540 127.0.0.1:5000 TIME_WAIT admin@i-033468d33a03be844:~$ sudo netstat -natup | grep 5000 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: sudo: a password is required admin@i-033468d33a03be844:~$ sudo
paris/i-033468d33a03be844 01:03
by SadServersdrwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-010d84eaab4d0fc03:~$ cp /home/admin/webserver.py /tmp/ cp: cannot open '/home/admin/webserver.py' for reading: Permission denied admin@i-010d84eaab4d0fc03:~$ admin@i-010d84eaab4d0fc03:~$ ls -la /home/admin/agent/ total 11144 drwxr-xr-x 2 admin root 4096 Sep 24 2023 . drwxr-xr-x 6 admin admin 4096 Sep 24 2023 .. -rwxr-xr-x 1 admin admin 230 Sep 24 2023 check.sh -rwxr-xr-x 1 admin root 11397096 Sep 20 2023 sadagent -rw-r--r-- 1 admin admin 0 Sep 20 2023 sadagent.txt admin@i-010d84eaab4d0fc03:~$ ls -la /home/admin/agent/sadagent -rwxr-xr-x 1 admin root 11397096 Sep 20 2023 /home/admin/agent/sadagent admin@i-010d84eaab4d0fc03:~$