command-line-murders/i-0145725b1423c938e
by SadServersMore by SadServers
Connecting to localhost (localhost)|127.0.0.1|:5000... connected. HTTP request sent, awaiting response... 200 OK Length: 12 [text/html] index.html: Permission denied Cannot write to ‘index.html’ (Permission denied). admin@i-060882b6b7423c159:/etc/python3$ cd .. admin@i-060882b6b7423c159:/etc$ cd .. admin@i-060882b6b7423c159:/$ find "index.html" find: ‘index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find *"index.html" find: ‘*index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find */"index.html" find: ‘*/index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find */"index.html"
paris/i-060882b6b7423c159 04:33
by SadServersSorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-03e132f618d80584c:~$ sudo curl localhost:5000 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-03e132f618d80584c:~$ ls
paris/i-03e132f618d80584c 01:36
by SadServersdrwxr-xr-x 2 admin root 4.0K Oct 26 12:42 data -rw-r--r-- 1 admin admin 5.0M Sep 17 17:28 datafile.gz -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-0dabf03a12f2ad847:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 1.1G 6.2G 15% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-0dabf03a12f2ad847:~$ ./kihei Done. admin@i-0dabf03a12f2ad847:~$ mv datafile.gz datafile admin@i-0dabf03a12f2ad847:~$ strace ./k
kihei/i-0dabf03a12f2ad847 07:26
by SadServerslsof 835 admin mem REG 259,1 61712-linux-gnu/libpcre2-8.so.0.10.1 lsof 835 admin mem REG 259,1 190153-linux-gnu/libc-2.31.so lsof 835 admin mem REG 259,1 16612-linux-gnu/libselinux.so.1 lsof 835 admin mem REG 259,1 17792-linux-gnu/ld-2.31.so lsof 835 admin 4r FIFO 0,11 0tlsof 835 admin 7w FIFO 0,11 0tadmin@i-00d15eebefe1eaf63:~$ lsof -nP -iTCP -sTCP:LISTEN COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME gotty 563 admin 6u IPv6 1900 0t0 TCP *:8080 (LISTEN) sadagent 564 admin 7u IPv6 1875 0t0 TCP *:6767 (LISTEN) admin@i-00d15eebefe1eaf63:~$ lsof -nP -i