kihei/i-0aeb40e1867803400
by SadServersMore by SadServers
COMMAND 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 SadServersadmin@i-0b117fa6b5ba9fe7f:~$ curl localhost:5000 Unauthorizedadmin@i-0b117fa6b5ba9fe7f:~$ netstat -ano | grep 5000 tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:58914 127.0.0.1:5000 TIME_WAIT admin@i-0b117fa6b5ba9fe7f:~$ curl localhost:58914 curl: (7) Failed to connect to localhost port 58914: Connection refused admin@i-0b117fa6b5ba9fe7f:~$ netstat -ano | grep 5000 tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:58914 127.0.0.1:5000 TIME_WAIT admin@i-0b117fa6b5ba9fe7f:~$ ls agent webserver.py admin@i-0b117fa6b5ba9fe7f:~$ cat
paris/i-0b117fa6b5ba9fe7f 03:03
by SadServersadmin@i-085903f344801b637:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-085903f344801b637:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1
kihei/i-085903f344801b637 00:57
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