command-line-murders/i-0dca742de143f2ad1
by SadServersMore by SadServers
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-0f9d17817910b720d:~$ ls -l total 8 drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0f9d17817910b720d:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0f9d17817910b720d:~$ nc localhost:
paris/i-0f9d17817910b720d 01:47
by SadServers+++ exited with 2 +++ admin@i-0a474ba1576819cf3:~$ ls agent data datafile kihei admin@i-0a474ba1576819cf3:~$ ls data admin@i-0a474ba1576819cf3:~$ mv datafile data/newdatafileç admin@i-0a474ba1576819cf3:~$ s data bash: s: command not found admin@i-0a474ba1576819cf3:~$ ls data newdatafileç admin@i-0a474ba1576819cf3:~$ mv data/newdatafileç data/newdatafile admin@i-0a474ba1576819cf3:~$ ls data newdatafile admin@i-0a474ba1576819cf3:~$ ./kihei Done. admin@i-0a474ba1576819cf3:~$
kihei/i-0a474ba1576819cf3 07:21
by SadServers-V, --version print version admin@i-0c5198ac56f7a1469:~$ strace -e open ./ .ansible/ .config/ .ssh/ agent/ data/ kihei admin@i-0c5198ac56f7a1469:~$ strace -e open ./kihei --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=1049, si_uid=1000} --- --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1053, si_uid=1000, si__stime=0} --- panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d +++ exited with 2 +++ admin@i-0c5198ac56f7a1469:~$ strace ./kihei | less admin@i-0c5198ac56f7a1469:~$
i-0c5198ac56f7a1469 03:45
by SadServersdrwx------ 5 root root 4096 Nov 1 12:56 . drwxr-xr-x 18 root root 4096 Nov 1 12:54 .. -rw-r--r-- 1 root root 571 Apr 10 2021 .bashrc drwxr-xr-x 3 root root 4096 Nov 1 12:56 .config drwx------ 5 root root 4096 Nov 1 12:56 .mc -rw-r--r-- 1 root root 161 Jul 9 2019 .profile drwx------ 2 root root 4096 Sep 17 16:44 .ssh --wxrw--wT 1 root root 984 Sep 17 17:16 mc.sh root@i-065b0b4396750e734:~# cat .config/ cat: .config/: Is a directory root@i-065b0b4396750e734:~# cd .config/ root@i-065b0b4396750e734:~/.config# ls asciinema root@i-065b0b4396750e734:~/.config# cat asciinema/install-id a8958cd1-8249-4f60-9b73-4859fccd1f47root@i-065b0b4396750e734:~/.config#