unimak/i-0044e5fec361a7aaf
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: Sorry, try again. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 3 incorrect password attempts admin@i-04da8860b0762f714:~$ su Password:
paris/i-04da8860b0762f714 02:47
by SadServers581 ? Ss 0:00 /usr/bin/python3 /home/admin/webserver.py 582 ? Ssl 0:00 /usr/sbin/rsyslogd -n -iNONE 585 ? Ss 0:00 /lib/systemd/systemd-logind 590 tty1 Ss+ 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux 591 ttyS0 Ss+ 0:00 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,3 592 ? Ss 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 star 594 ? S 0:00 /usr/sbin/chronyd -F 1 602 ? S 0:00 \_ /usr/sbin/chronyd -F 1 601 ? Ss 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/una--wait-for-signal admin@i-00f8248b2e8900994:~$ ps -fax|grep http 900 pts/1 S<+ 0:00 \_ grep http admin@i-00f8248b2e8900994:~$ ps -fax|grep 5000 902 pts/1 S<+ 0:00 \_ grep 5000 admin@i-00f8248b2e8900994:~$ n
paris/i-00f8248b2e8900994 03:28
by SadServersadmin@i-00b3b0c0a6ca7579b:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-00b3b0c0a6ca7579b:~$ echo @? @? admin@i-00b3b0c0a6ca7579b:~$ echo ? ? admin@i-00b3b0c0a6ca7579b:~$ echo @2 @2 admin@i-00b3b0c0a6ca7579b:~$
kihei/i-00b3b0c0a6ca7579b 00:52
by SadServers-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-049d7de41c1f65c5b:~$ python webserver.py bash: python: command not found admin@i-049d7de41c1f65c5b:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-049d7de41c1f65c5b:~$ systemctl status | grep nginx └─838 grep nginx admin@i-049d7de41c1f65c5b:~$ ls agent webserver.py admin@i-049d7de41c1f65c5b:~$ ls agent check.sh sadagent sadagent.txt admin@i-049d7de41c1f65c5b:~$ curl localhost:50000