command-line-murders/i-030030e55edbba92e
by SadServersMore by SadServers
nt/ webserver.py admin@i-051f7c5ffc2106615:~$ sudo user 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-051f7c5ffc2106615:~$ vim
paris/i-051f7c5ffc2106615 02:36
by SadServerscat: /usr/bin/python3/home/admin/webserver.py: Not a directory admin@i-0daf7211d0c2a006e:~$ cd /usr/bin/python3/home/admin/webserver.py bash: cd: /usr/bin/python3/home/admin/webserver.py: Not a directory admin@i-0daf7211d0c2a006e:~$ vim /usr/bin/python3/home/admin/webserver.py admin@i-0daf7211d0c2a006e:~$ ion ]; thenmpletiontion ]; then/profile:locus=01:qu
monaco/i-0daf7211d0c2a006e 15:08
by SadServers_apt:x:100:65534::/nonexistent:/usr/sbin/nologin messagebus:x:101:101::/nonexistent:/usr/sbin/nologin uuidd:x:102:102::/run/uuidd:/usr/sbin/nologin tcpdump:x:103:103::/nonexistent:/usr/sbin/nologin _chrony:x:104:104:Chrony daemon,,,:/var/lib/chrony:/usr/sbin/nologin systemd-network:x:105:106:systemd Network Management,,,:/run/systemd:/usr/sbin/nsystemd-resolve:x:106:107:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin sshd:x:107:65534::/run/sshd:/usr/sbin/nologin systemd-timesync:x:999:999:systemd Time Synchronization:/:/usr/sbin/nologin systemd-coredump:x:998:998:systemd Core Dumper:/:/usr/sbin/nologin admin:x:1000:1000:Debian:/home/admin:/bin/bash admin@i-02f008a4ef093b898:~$ su - www-data bash Password: ^C admin@i-02f008a4ef093b898:~$ curl -A
paris/i-02f008a4ef093b898 00:59
by SadServerslsof 905 admin mem REG 259,1 16612-linux-gnu/libselinux.so.1 lsof 905 admin mem REG 259,1 17792-linux-gnu/ld-2.31.so lsof 905 admin 4r FIFO 0,11 0tlsof 905 admin 7w FIFO 0,11 0tadmin@i-0032345432e40698b:~$ curl 172.31.44.67:5000 curl: (7) Failed to connect to 172.31.44.67 port 5000: Connection refused admin@i-0032345432e40698b:~$ curl localhost:5000 Unauthorizedadmin@i-0032345432e40698b:~$ md5sum Unauthorize md5sum: Unauthorize: No such file or directory admin@i-0032345432e40698b:~$ echo Unauthorize > ~/mysolution admin@i-0032345432e40698b:~$ md5sum ~/mysolution 0292f6b5fcbc291aa125a82d9ff97dc2 /home/admin/mysolution admin@i-0032345432e40698b:~$