kihei/i-080fdc920d0856527
by SadServersMore by SadServers
Unauthorizedadmin@i-01f465ecb0e6b6e62:~$ curl localhost:5000 Unauthorizedadmin@i-01f465ecb0e6b6e62:~$ ls agent webserver.py admin@i-01f465ecb0e6b6e62:~$ nano webserver.py admin@i-01f465ecb0e6b6e62:~$ sudo nano 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:
paris/i-01f465ecb0e6b6e62 00:44
by SadServerstotal 12 -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rw-r--r-- 1 admin admin 79 Mar 2 05:22 py-wrapper.sh admin@i-02f98745e2b363f17:~$ losetup admin@i-02f98745e2b363f17:~$ losetup -l admin@i-02f98745e2b363f17:~$ ls -ltr total 12 -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rw-r--r-- 1 admin admin 79 Mar 2 05:22 py-wrapper.sh admin@i-02f98745e2b363f17:~$ mkdir /tmp/test admin@i-02f98745e2b363f17:~$ mount -o bind,ro /home/admin /tmp/test mount: /tmp/test: must be superuser to use mount. admin@i-02f98745e2b363f17:~$
paris/i-02f98745e2b363f17 06:38
by SadServersnewfstatat(AT_FDCWD, "/usr/sbin/fallocate", 0xc000012d38, 0) = -1 ENOENT (No sucnewfstatat(AT_FDCWD, "/usr/bin/fallocate", {st_mode=S_IFREG|0755, st_size=35048,openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CLOEXEC) = 7 openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CLOEXEC) = 8 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=698, si_uid=1000, si_sme=0} --- unlinkat(AT_FDCWD, "/home/admin/data/newdatafile", 0) = 0 panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d +++ exited with 2 +++ admin@i-048eed74781c3e02b:~$ strace -e trace=file ./kihei