command-line-murders/i-0a2069710ca88251d
by SadServersMore by SadServers
admin@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 SadServerstcp6 0 0 [::]:6767 [::]:* LISTEN tcp6 0 0 [::]:http-alt [::]:* LISTEN tcp6 0 0 [::]:ssh [::]:* LISTEN tcp6 0 0 ip-172-31-37-8:http-alt ip-172-31-16-109.:49406 ESTABLISHED admin@i-03b7efa56762dad70:~$ nano /etc/hosts admin@i-03b7efa56762dad70:~$ sudo lsof -i :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:
paris/i-03b7efa56762dad70 02:36
by SadServers-rw-r--r-- 1 root root 5.0G Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-0a6e70fd4f94f9e89:~$ du -h 11M ./agent 4.0K ./.ansible/tmp 8.0K ./.ansible 4.0K ./data 8.0K ./.config/asciinema 12K ./.config 8.0K ./.ssh 5.1G . admin@i-0a6e70fd4f94f9e89:~$ chmod 777 datafile chmod: changing permissions of 'datafile': Operation not permitted admin@i-0a6e70fd4f94f9e89:~$ sudo chmod 777 datafile (reverse-i-search)`/': lsof /home/admin/datafile
kihei/i-0a6e70fd4f94f9e89 04:26
by SadServerswrite(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0d8dc547f45c534d8:~$ lsblk -l 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-0d8dc547f45c534d8:~$