kihei/i-0c2273d796d05920a
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 SadServers[Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /home/admin/webserver.py cat: /home/admin/webserver.py: Permission denied admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ ps aux | grep webserver root 564 0.2 5.9 33040 27816 ? Ss 22:43 0:00 /usr/bin/pythadmin 814 0.0 0.1 5264 704 pts/1 R<+ 22:45 0:00 grep webserveadmin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/5 5/ 50/ 51/ 52/ 54/ 55/ 557/ 558/ 56/ 561/ 562/ 564/ 565/ 57/ 58/ 581/ admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/5 5/ 50/ 51/ 52/ 54/ 55/ 557/ 558/ 56/ 561/ 562/ 564/ 565/ 57/ 58/ 581/ admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/55