command-line-murders/i-02a249cdecc0406d9
by SadServersMore by SadServers
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [ [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-admin@i-02474f300d2196640:~$ sudo su - 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-02474f300d2196640:~$ curl localh
paris/i-02474f300d2196640 01:57
by SadServers-rw------- 1 admin admin 338 Nov 6 22:15 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 2023 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0e8108e3a59a33ce2:~$ cat /etc/sudoers cat: /etc/sudoers: Permission denied admin@i-0e8108e3a59a33ce2:~$ cat /etc/sudoers.d/ cat: /etc/sudoers.d/: Permission denied admin@i-0e8108e3a59a33ce2:~$ cat /etc/sudo sudo.conf sudo_logsrvd.conf sudoers sudoers.d/ admin@i-0e8108e3a59a33ce2:~$ cat /etc/sudo
paris/i-0e8108e3a59a33ce2 02:59
by SadServers<... poll resumed>) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500^C admin@i-0432ed2a019015273:~/agent$ ) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500ps) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500 aux |) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500 grep) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500 -i s) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500tr) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500^C admin@i-0432ed2a019015273:~/agent$ k) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500illa) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500ll) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 500