command-line-murders/i-0fb9eb68a56435ce9
by SadServersMore by SadServers
42108d7968f7038 (ED25519) Jan 12 17:27:40 i-0842108d7968f7038 ec2: 3072 SHA256:hj5IRhHgQNWK1wNwOHkxby3pdb0842108d7968f7038 (RSA) Jan 12 17:27:40 i-0842108d7968f7038 ec2: -----END SSH HOST KEY FINGERPRINTS-----Jan 12 17:27:40 i-0842108d7968f7038 ec2: #######################################admin@i-0842108d7968f7038:~$ curl localhost curl: (7) Failed to connect to localhost port 80: Connection refused admin@i-0842108d7968f7038:~$ curl localhost:3000 curl: (7) Failed to connect to localhost port 3000: Connection refused admin@i-0842108d7968f7038:~$ curl localhost:5000 Unauthorizedadmin@i-0842108d7968f7038:~$ lsof -i -P -n | grep LISTEN gotty 558 admin 6u IPv6 10589 0t0 TCP *:8080 (LISTEN) sadagent 559 admin 7u IPv6 11492 0t0 TCP *:6767 (LISTEN) admin@i-0842108d7968f7038:~$ less /etc/services admin@i-0842108d7968f7038:~$ lsof -i:
paris/i-0842108d7968f7038 03:30
by SadServers-rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-044a7fbb0934efb34:~$ cd .config/ admin@i-044a7fbb0934efb34:~/.config$ ls asciinema admin@i-044a7fbb0934efb34:~/.config$ cd asciinema/ admin@i-044a7fbb0934efb34:~/.config/asciinema$ ls install-id admin@i-044a7fbb0934efb34:~/.config/asciinema$ cd ^C admin@i-044a7fbb0934efb34:~/.config/asciinema$ cat install-id 0e2d35c4-a944-417f-bd3a-677c2f875b37admin@i-044a7fbb0934efb34:~/.config/asciinemadmin@i-044a7fbb0934efb34:~/.config$ cd .. admin@i-044a7fbb0934efb34:~$
paris/i-044a7fbb0934efb34 03:18
by SadServers└─576 /usr/bin/python3 /home/admin/webserver.py Dec 06 15:26:25 i-0698a665f0c5ecc54 systemd[1]: Started Flask Application. Dec 06 15:26:25 i-0698a665f0c5ecc54 python3[576]: * Serving Flask app 'webserver' Dec 06 15:26:25 i-0698a665f0c5ecc54 python3[576]: * Debug mode: off Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: WARNING: This is a development server. Do not use it in a production deployment. Use a product> Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: * Running on http://127.0.0.1:5000 Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: Press CTRL+C to quit admin@i-0698a665f0c5ecc54:~$