command-line-murders/i-0758f78a432ddae98
by SadServersMore by SadServers
admin@i-00ff22741d8109eed:~$ sudo mkfs -t ext4 -j -L new /dev/nvme1n1p1 mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 261883 4k blocks and 65536 inodes Filesystem UUID: 54fc8dad-097c-4d06-bf89-9f2b0cd181c8 Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Allocating group tables: done Writing inode tables: done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done admin@i-00ff22741d8109eed:~$ sudo mkdir /new admin@i-00ff22741d8109eed:~$ sudo vim /etc/fstab admin@i-00ff22741d8109eed:~$ mount
kihei/i-00ff22741d8109eed 05:54
by SadServersunix 3 [ ] STREAM CONNECTED 11366 unix 3 [ ] STREAM CONNECTED 11352 unix 3 [ ] STREAM CONNECTED 11353 /run/systemd/journal/unix 3 [ ] STREAM CONNECTED 11367 /run/dbus/system_bus_admin@i-04e9b3dc5974733a8:~$ netstat -nptl (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN admin@i-04e9b3dc5974733a8:~$ telnet
paris/i-04e9b3dc5974733a8 01:25
by SadServersUnauthorizedadmin@i-0b44691fa1530d7a7:/$ curl localhost:5000/index.html <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manualling and try again.</p> admin@i-0b44691fa1530d7a7:/$ curl localhost:5000/password <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manualling and try again.</p> admin@i-0b44691fa1530d7a7:/$