command-line-murders/i-0b21ebb0e2a1c8794
by SadServersMore by SadServers
admin@i-09ca4fe48eca1e59f:~$ ls agent index.html webserver.py admin@i-09ca4fe48eca1e59f:~$ cat index.html Unauthorizedadmin@i-09ca4fe48eca1e59f:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. admin@i-09ca4fe48eca1e59f:~$ nc localhost 5000 GET 、 GET / ^C admin@i-09ca4fe48eca1e59f:~$ nc localhost 5000
paris/i-09ca4fe48eca1e59f 01:59
by SadServersConnecting 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 SadServersUUID=811e12d8-f542-4650-9330-8d96633bd90c / ext4 rw,discard,errors=remount-ro,x-UUID=8690-F844 /boot/efi vfat defaults 0 0 admin@i-0cb5e811d8cd934e6:~$ ncdu bash: ncdu: command not found admin@i-0cb5e811d8cd934e6:~$ admin@i-0cb5e811d8cd934e6:~$ admin@i-0cb5e811d8cd934e6:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk ├─nvme0n1p1 259:2 0 7.9G 0 part / ├─nvme0n1p14 259:3 0 3M 0 part └─nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-0cb5e811d8cd934e6:~$ fdisk -l