command-line-murders/i-07a7b7780055fa4d0
by SadServersMore by SadServers
GET / GET / GET / ^C admin@i-07e2fdd31fb619fad:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5Acurl -s http://httpbin.org/user-agentrl -s http://h^[[B^[[B^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agent ^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agent ls ; ^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agen
paris/i-07e2fdd31fb619fad 02:35
by SadServersagent webserver.py admin@i-0c9542c7c8a29de76:~$ ls -la total 44 drwxr-xr-x 6 admin admin 4096 Sep 24 23:20 . 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 718 Nov 27 03:46 .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 4 admin admin 4096 Nov 27 03:44 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile 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 admin@i-0c9542c7c8a29de76:~$
paris/i-0c9542c7c8a29de76 04:14
by SadServersadmin@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