paris/i-031023b9f4d69a6e7
by SadServersMore by SadServers
-rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile admin@i-061fdb9cf7dfc377a:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-061fdb9cf7dfc377a:~$ sudo vi webserver.py 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-061fdb9cf7dfc377a:~$
paris/i-061fdb9cf7dfc377a 03:06
by SadServerssynonym for -e inject with default ERRNO set to ENOSYS. Miscellaneous: -d, --debug enable debug output to stderr -h, --help print help message --seccomp-bpf enable seccomp-bpf filtering -V, --version print version admin@i-044591a0589c43c95:~$ strace --help | less admin@i-044591a0589c43c95:~$ strace -o /tmp/trace ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-044591a0589c43c95:~$ vim
kihei/i-044591a0589c43c95 01:55
by SadServers/home/admin/.ansible/tmp /home/admin/stuff /home/admin/.config /home/admin/.config/asciinema /home/admin/.config/asciinema/install-id /home/admin/.profile /home/admin/.ssh /home/admin/.ssh/authorized_keys /home/admin/.bash_logout /home/admin/.bashrc /home/admin/.bash_history /dev/pts/1 /dev/pts/0 /var/log/cast /var/log/cast/i-088c078b20497e4c0
paris/i-088c078b20497e4c0 04:19
by SadServersopenat(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