kihei/i-010ddf227d47675e0
by SadServersMore by SadServers
admin 795 691 0 13:08 pts/1 00:00:00 ps -ef admin@i-0f74600404c71b126:~$ admin@i-0f74600404c71b126:~$ admin@i-0f74600404c71b126:~$ ls agent webserver.py admin@i-0f74600404c71b126:~$ vi webserver.py admin@i-0f74600404c71b126:~$ cd agent/ admin@i-0f74600404c71b126:~/agent$ ls check.sh sadagent sadagent.txt admin@i-0f74600404c71b126:~/agent$ cd admin@i-0f74600404c71b126:~$ ls -rtl total 8 -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent admin@i-0f74600404c71b126:~$ curl localh
paris/i-0f74600404c71b126 01:48
by SadServerscat: /etc/sudoers: Permission denied admin@i-092d4cf55fa0651c2:~$ sudo python3 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-092d4cf55fa0651c2:~$ ls agent webserver.py admin@i-092d4cf55fa0651c2:~$ ps aux |grep webserver
paris/i-092d4cf55fa0651c2 04:06
by SadServersdrwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config drwxr-xr-x 3 admin admin 4096 Dec 24 11:10 .local -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh -rw-r--r-- 1 admin admin 1024 Dec 24 11:10 .webserver.py.swp drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-042a55932de644732:~$ su - Password: su: Authentication failure admin@i-042a55932de644732:~$ su - Password: su: Authentication failure admin@i-042a55932de644732:~$ ^C admin@i-042a55932de644732:~$ curl
paris/i-042a55932de644732 02:06
by SadServersReading symbols from /lib/x86_64-linux-gnu/libuuid.so.1... (No debugging symbols found in /lib/x86_64-linux-gnu/libuuid.so.1) Reading symbols from /usr/lib/python3.9/lib-dynload/_asyncio.cpython-39-x86_64-l(No debugging symbols found in /usr/lib/python3.9/lib-dynload/_asyncio.cpython-3Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2... Reading symbols from /usr/lib/debug/.build-id/ba/b4b71665bcc7f3f9b142804534c6de1Reading symbols from /usr/lib/python3.9/lib-dynload/_ctypes.cpython-39-x86_64-li(No debugging symbols found in /usr/lib/python3.9/lib-dynload/_ctypes.cpython-39Reading symbols from /lib/x86_64-linux-gnu/libffi.so.7... (No debugging symbols found in /lib/x86_64-linux-gnu/libffi.so.7) 0x00007fa63286f933 in __GI___poll (fds=0x7fa631a7ea50, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29 29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. (gdb) (gdb) py-