paris/i-0f0c9e55a5c0d9a6f
by SadServersMore by SadServers
581 ? 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 SadServersCOMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME gotty 546 admin 6u IPv6 10655 0t0 TCP *:http-alt (LISTEN) gotty 546 admin 7u IPv6 11010 0t0 TCP ip-172-31-39-38.us-east-2.co-172-31-16-109.us-east-2.compute.internal:40862 (ESTABLISHED) sadagent 547 admin 7u IPv6 10631 0t0 TCP *:6767 (LISTEN) admin@i-0ec94a674eea95352:~$ nc localhost:5000 & [1] 899 admin@i-0ec94a674eea95352:~$ nc: missing port number nc -lvvp localhost:5000 nc: getaddrinfo: Servname not supported for ai_socktype [1]+ Exit 1 nc localhost:5000 admin@i-0ec94a674eea95352:~$ fg bash: fg: current: no such job admin@i-0ec94a674eea95352:~$ nc localhost 5000
paris/i-0ec94a674eea95352 04:22
by SadServersdrwx------ 4 root root 4096 Nov 5 20:22 root drwxr-xr-x 23 root root 680 Nov 5 20:22 run lrwxrwxrwx 1 root root 8 Sep 28 2021 sbin -> usr/sbin drwxr-xr-x 2 root root 4096 Sep 28 2021 srv dr-xr-xr-x 13 root root 0 Nov 5 20:21 sys drwxrwxrwt 9 root root 4096 Nov 5 20:22 tmp drwxr-xr-x 14 root root 4096 Sep 28 2021 usr drwxr-xr-x 11 root root 4096 Sep 28 2021 var root@i-00052c2fc51abf45d:/# cd /media/ root@i-00052c2fc51abf45d:/media# ls -la total 8 drwxr-xr-x 2 root root 4096 Sep 28 2021 . drwxr-xr-x 18 root root 4096 Nov 5 20:22 .. root@i-00052c2fc51abf45d:/media# cd .. root@i-00052c2fc51abf45d:/# du -h
kihei/i-00052c2fc51abf45d 00:50
by SadServersif [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-053e95096bbd62d08:~/agent$ file sadagent sadagent: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linke-linux-x86-64.so.2, Go BuildID=H6A8cVluPFUvaNojVwMi/C5t-5rNiA5GJLWeSm5Qz/KXfivG_EPr4lPEnoe, not stripped admin@i-053e95096bbd62d08:~/agent$ cd .. admin@i-053e95096bbd62d08:~$ ls agent webserver.py admin@i-053e95096bbd62d08:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-053e95096bbd62d08:~$ ls