paris/i-06266520ce0c16bec
by SadServersMore by SadServers
Saving to: ‘index.html’ index.html 100%[=====================================>] 12 2024-01-15 05:10:43 (1.55 MB/s) - ‘index.html’ saved [12/12] admin@i-0d60756cd4edc8643:~$ ls agent index.html webserver.py admin@i-0d60756cd4edc8643:~$ cat index.html Unauthorizedadmin@i-0d60756cd4edc8643:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /
paris/i-0d60756cd4edc8643 01:25
by SadServersstrings: webserver.py: Permission denied admin@i-0eed1c77d78127958:~$ ls -al total 44 drwxr-xr-x 6 admin admin 4096 Sep 24 2023 . drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 20 2023 .ansible -rw------- 1 admin admin 530 Feb 26 17:43 .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-0eed1c77d78127958:~$
paris/i-0eed1c77d78127958 02:26
by SadServerswrite(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-05088a4f1fc43f619:~$ strace ./kihei 2>&1 | grep datafile newfstatat(AT_FDCWD, "/home/admin/data/newdatafile", 0xc00008e9f8, 0) = -1 ENOENunlinkat(AT_FDCWD, "/home/admin/data/newdatafile", 0) = 0 admin@i-05088a4f1fc43f619:~$ cd data admin@i-05088a4f1fc43f619:~/data$ ls -al total 8 drwxr-xr-x 2 admin root 4096 Dec 5 09:17 . drwxr-xr-x 7 admin admin 4096 Dec 5 09:12 .. admin@i-05088a4f1fc43f619:~/data$ touch newdatafile admin@i-05088a4f1fc43f619:~/data$ strace .../kihei 2>&1 | grep datafile