command-line-murders/i-0b4000057cd9d49cb
by SadServersMore by SadServers
unix 3 [ ] STREAM CONNECTED 11510 unix 3 [ ] STREAM CONNECTED 10674 /run/systemd/journal/unix 2 [ ] DGRAM 11561 admin@i-0b765541c55edca19:~$ netstat tulnp | grep LISTEN admin@i-0b765541c55edca19:~$ netstat tulpn | grep LISTEN admin@i-0b765541c55edca19:~$ netstat -tulpn | grep LISTEN (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN admin@i-0b765541c55edca19:~$ curl 127.0.0.1:5000 Unauthorizedadmin@i-0b765541c55edca19:~$ curl 127.0.0.1:5000
paris/i-0b765541c55edca19 01:57
by SadServers> Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > user: pass > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Fri, 15 Nov 2024 11:57:16 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-038502ad8c30726f2:~$ curl -H "user: pass" http://localhost:5
paris/i-038502ad8c30726f2 02:57
by SadServersadmin@i-026a7204a456f2350:~$ pvcreate /dev/nv nvme0 nvme0n1p1 nvme0n1p15 nvme1n1 nvme2 nvme2n1p1 nvme0n1 nvme0n1p14 nvme1 nvme1n1p1 nvme2n1 nvram admin@i-026a7204a456f2350:~$ pvcreate /dev/nvme1n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-026a7204a456f2350:~$ sudo pvcreate /dev/nvme1n1 WARNING: dos signature detected on /dev/nvme1n1 at offset 510. Wipe it? [y/n]: y Wiping dos signature on /dev/nvme1n1. Physical volume "/dev/nvme1n1" successfully created. admin@i-026a7204a456f2350:~$ sudo pvcreate /dev/nvme2n1 WARNING: dos signature detected on /dev/nvme2n1 at offset 510. Wipe it? [y/n]: y Wiping dos signature on /dev/nvme2n1. Physical volume "/dev/nvme2n1" successfully created. admin@i-026a7204a456f2350:~$ vgcreate datavg /dev/nvme1n1 /dev/nv