kihei/i-0174c240f6fd68eb5
by SadServersMore by SadServers
admin@i-0098b25085dae6810:~$ sudo cat 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: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-0098b25085dae6810:~$ curl localhost:5000 Unauthorizedadmin@i-0098b25085dae6810:~$
paris/i-0098b25085dae6810 00:47
by SadServerswrite(2, "main.main", 9main.main) = 9 write(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0f74c319172ce7b15:~$ strace ./kihei
kihei/i-0f74c319172ce7b15 00:46
by SadServers-4,--ipv4 search IPv4 sockets only -6,--ipv6 search IPv6 sockets only - reset options udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]] admin@i-07cd7c193bead20b7:~$ fuser data data/ datafile admin@i-07cd7c193bead20b7:~$ fuser data data/ datafile admin@i-07cd7c193bead20b7:~$ fuser data data/ datafile admin@i-07cd7c193bead20b7:~$ fuser datafile admin@i-07cd7c193bead20b7:~$ sudo fuser datafile admin@i-07cd7c193bead20b7:~$ nano datafile
kihei/i-07cd7c193bead20b7 00:42
by SadServersdrwxr-xr-x 7 admin admin 4096 Mar 4 20:45 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 576 Mar 4 20:45 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py drwsr-sr-x 2 admin admin 4096 Mar 4 20:45 yolo admin@i-0914c01abdff80d82:~$ rmdir yolo admin@i-0914c01abdff80d82:~$ mkdir yolo admin@i-0914c01abdff80d82:~$ chmod +t yolo admin@i-0914c01abdff80d82:~$ mv