command-line-murders/i-086e1176604cfa33f
by SadServersMore by SadServers
admin@i-05d27a7439a0e6399:~$ ls agent data datafile kihei admin@i-05d27a7439a0e6399:~$ file kihei kihei: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, G7tVbey9uC58oKsR, not stripped admin@i-05d27a7439a0e6399:~$ ps aux | grep "kihei" admin 704 0.6 4.1 98188 19192 pts/0 S<l+ 10:38 0:00 /usr/bin/pythi-05d27a7439a0e6399 admin 707 0.0 3.0 24456 14448 pts/0 S<+ 10:38 0:00 /usr/bin/pythi-05d27a7439a0e6399 admin 715 0.0 0.1 5264 704 pts/1 S<+ 10:38 0:00 grep kihei admin@i-05d27a7439a0e6399:~$
kihei/i-05d27a7439a0e6399 00:26
by SadServersbash: /home/admin/datafile: Permission denied admin@i-00ca6dd8e9e53cf6e:~$ sudo echo "" > /home/admin/datafile bash: /home/admin/datafile: Permission denied admin@i-00ca6dd8e9e53cf6e:~$ sudo su root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# echo "" > /home/admin/datafile root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# exit exit admin@i-00ca6dd8e9e53cf6e:~$ cd /home/admin/ admin@i-00ca6dd8e9e53cf6e:~$ ls agent data datafile kihei admin@i-00ca6dd8e9e53cf6e:~$ ./
kihei/i-00ca6dd8e9e53cf6e 01:59
by SadServersadmin@i-0c469078d13136d60:~$ 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-0c469078d13136d60:~$ nc localhost5000 nc: missing port number admin@i-0c469078d13136d60:~$ nc localhost 5000 G