command-line-murders/i-0f54a327129bf2b6a
by SadServersMore by SadServers
admin@i-004d80b97bf1201b1:~$ ls agent webserver.py admin@i-004d80b97bf1201b1:~$ nc localhost 5000 GET / curl --user-agent "whatever" localhost:5000 ^C admin@i-004d80b97bf1201b1:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-004d80b97bf1201b1:~$
paris/i-004d80b97bf1201b1 00:45
by SadServersadmin@i-0300b63fb986ef336:~/.local$ cd /var/www bash: cd: /var/www: No such file or directory admin@i-0300b63fb986ef336:~/.local$ ls share admin@i-0300b63fb986ef336:~/.local$ cd .. admin@i-0300b63fb986ef336:~$ ls agent webserver.py admin@i-0300b63fb986ef336:~$ tail webserver.py tail: cannot open 'webserver.py' for reading: Permission denied admin@i-0300b63fb986ef336:~$ tail .webserver.py.swp b0nano 5.4�admini-0300b63fb986ef336webserver.pyadmin@i-0300b63fb986ef336:~$ nanoadmin@i-0300b63fb986ef336:~$ cat .webserver.py.swp b0nano 5.4�admini-0300b63fb986ef336webserver.pyadmin@i-0300b63fb986ef336:~$ cat b0nano 5.4�admini-0300b63fb986ef336webserver.pyadmin@i-0300b63fb986ef336:~$ nanoadmin@i-0300b63fb986ef336:~$ echo "somepassword" > ~/mysolution
paris/i-0300b63fb986ef336 09:12
by SadServersadmin@i-005816389398da366:~$ md5sum ~/mysolution md5sum: /home/admin/mysolution: No such file or directory admin@i-005816389398da366:~$ sudo cat /etc/passwd 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-005816389398da366 00:25
by SadServersadmin@i-022b732c14296a2c7:~$ sudo systemctl status ngin^C admin@i-022b732c14296a2c7:~$ curl localhost:5000 Unauthorizedadmin@i-022b732c1curl --user-agent "whatever" localhost:5000calhost:Welcome! Password is FDZPmh5AX3oiJtadmin@i-022b732c14296a2c7:~$ echi