command-line-murders/i-045356b5a2d167205
by SadServersMore by SadServers
admin@i-0753487d11780db13:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme2n1 259:1 0 1G 0 disk nvme1n1 259:2 0 1G 0 disk nvme0n1p1 259:3 0 7.9G 0 part / nvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0753487d11780db13:~$ 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-0753487d11780db13:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0753487d11780db13:~$
kihei/i-0753487d11780db13 01:08
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:~$
paris/i-0698a665f0c5ecc54 06:06
by SadServersadmin@i-09ca4fe48eca1e59f:~$ ls agent index.html webserver.py admin@i-09ca4fe48eca1e59f:~$ cat index.html Unauthorizedadmin@i-09ca4fe48eca1e59f:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. admin@i-09ca4fe48eca1e59f:~$ nc localhost 5000 GET 、 GET / ^C admin@i-09ca4fe48eca1e59f:~$ nc localhost 5000