taipei/i-0fe60fd5038ba7352
by SadServersMore by SadServers
cat: /home/admin/webserver.py: Permission denied admin@i-041ba6e4c2ebedf78:~$ 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-041ba6e4c2ebedf78:~$ admin@i-041ba6e4c2ebedf78:~$ admin@i-041ba6e4c2ebedf78:~$
paris/i-041ba6e4c2ebedf78 02:33
by SadServersdebian_chroot=$(cat /etc/debian_chroot) fi # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color|*-256color) color_prompt=yes;; esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt #force_color_prompt=yes if [ -n "$force_color_prompt" ]; then .bashrc
paris/i-0b8c64b46be811e03 02:29
by SadServersadmin@i-09691d997134773d9:~$ ls -larth total 48K -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile -rw-r--r-- 1 admin admin 3.5K Aug 4 2021 .bashrc -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout drwxr-xr-x 3 root root 4.0K Sep 17 16:44 .. drwx------ 2 admin admin 4.0K Sep 17 16:44 .ssh drwx------ 3 admin admin 4.0K Sep 20 15:52 .ansible drwxr-xr-x 3 admin admin 4.0K Sep 20 15:56 .config -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rw------- 1 admin admin 684 Feb 22 16:13 .viminfo drwxr-xr-x 6 admin admin 4.0K Feb 22 16:13 . -rw------- 1 admin admin 666 Feb 22 16:14 .bash_history admin@i-09691d997134773d9:~$ sudo cat webserver.py
paris/i-09691d997134773d9 04:14
by SadServersadmin@i-075f2b4944f673d35:~$ ss -tulpna | grep 5000 tcp LISTEN 0 128 127.0.0.1:5000 tcp TIME-WAIT 0 0 127.0.0.1:35450 admin@i-075f2b4944f673d35:~$ ls agent webserver.py admin@i-075f2b4944f673d35:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-075f2b4944f673d35:~$ cd agent/ admin@i-075f2b4944f673d35:~/agent$ ls check.sh sadagent sadagent.txt admin@i-075f2b4944f673d35:~/agent$ cd .. admin@i-075f2b4944f673d35:~$