command-line-murders/i-0eaa5d8e13d0309a2
by SadServersMore by SadServers
admin@i-001eda64855cc97ed:~$ id -a uid=1000(admin) gid=1000(admin) groups=1000(admin),4(adm),20(dialout),24(cdrom),udio),30(dip),44(video),46(plugdev),109(netdev) admin@i-001eda64855cc97ed:~$ sudo vim 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-001eda64855cc97ed:~$ sudo -l
paris/i-001eda64855cc97ed 03:34
by SadServers15 2023-10-20T18:23:03 ./blu 16 2023-10-20T18:23:04 ./blub 17 2023-10-20T18:23:06 bash blub 18 2023-10-20T18:23:24 cat /dev/stdout < blub 19 2023-10-20T18:23:37 ngrep 20 2023-10-20T18:23:51 curl -v localhost:5000 21 2023-10-20T18:24:20 curl -v localhost:5000 -H 'User-Agent: Mozilla/4.0' 22 2023-10-20T18:24:30 curl -v localhost:5000/kekl -H 'User-Agent: Mozilla/4 23 2023-10-20T18:24:33 history admin@i-09a08604fdf46a1ed:~$ curl -H "User-Agent: Mozilla/5.0 (X11; U; Linux i5800101 Firefox/5.0" localhost:curl -H "User-Agent: Mozilla/5.0 (X11; U; Linux i5800101 Firefox/5.0" localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-09a08604fdf46a1ed:~$ curl -H "User-Ag; Linux i586; de; rv:5.0) Gecc^C admin@i-09a08604fdf46a1ed:~$ curl -H 'Us
paris/i-09a08604fdf46a1ed 04:11
by SadServersdrwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 20 2023 .ansible -rw------- 1 admin admin 362 Nov 15 11:37 .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 2023 .config drwxr-xr-x 3 admin admin 4096 Nov 15 11:37 .local -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh -rw------- 1 admin admin 682 Nov 15 11:35 .viminfo drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0fda8b1453b8d024f:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0fda8b1453b8d024f:~$ cp webserver.py