paris/i-07ee8069972d7eb33
by SadServersMore by SadServers
openat(AT_FDCWD, "/home/admin/webserver.py", O_RDONLY|O_CLOEXEC) = -1 EACCES (Pestat("/home/admin/webserver.py", {st_mode=S_IFREG|0770, st_size=360, ...}) = 0 readlink("/home/admin/webserver.py", 0x7ffcd0b15d90, 4096) = -1 EINVAL (Invalid lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/admin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/admin/webserver.py", {st_mode=S_IFREG|0770, st_size=360, ...}) = 0 openat(AT_FDCWD, "/home/admin/webserver.py", O_RDONLY) = -1 EACCES (Permission dwrite(2, "python3: can't open file '/home/"..., 82python3: can't open file '/homrrno 13] Permission denied ) = 82 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_r{sa_handler=0x6402c0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1915bdf1exit_group(2) = ? +++ exited with 2 +++ admin@i-0c85c5a418bb83a0e:/etc/systemd/system$ strace python3 /home/admin/webser
paris/i-0c85c5a418bb83a0e 02:08
by SadServersdrwx------ 3 admin admin 4.0K Sep 20 2023 .ansible -rw------- 1 admin admin 471 Apr 5 14:55 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3.5K Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4.0K Sep 20 2023 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-000557d38915e9a6c:~$ chown chown: missing operand Try 'chown --help' for more information. admin@i-000557d38915e9a6c:~$ chown admin:admin webserver.py chown: changing ownership of 'webserver.py': Operation not permitted admin@i-000557d38915e9a6c:~$ curl localhost:5000
paris/i-000557d38915e9a6c 02:48
by SadServersasciinema 680 admin mem REG 259,1 4156.9/lib-dynload/_lzma.cpython-39-x86_64-linux-gnu.so asciinema 680 admin mem REG 259,1 1951.9/lib-dynload/_queue.cpython-39-x86_64-linux-gnu.so asciinema 680 admin DEL REG 0,23 asciinema 680 admin DEL REG 0,23 asciinema 680 admin mem REG 259,1 1994.9/lib-dynload/_multiprocessing.cpython-39-x86_64-linux-gnu.so asciinema 680 admin mem REG 259,1 7468linux-gnu/libbz2.so.1.0.4 asciinema 680 admin mem REG 259,1 2835.9/lib-dynload/_bz2.cpython-39-x86_64-linux-gnu.so asciinema 680 admin mem REG 259,1 2700linux-gnu/gconv/gconv-modules.cache :