command-line-murders/i-02e4fb69b947aceee
by SadServersMore by SadServers
Saving to: ‘index.html’ index.html 100%[=====================================>] 12 2024-01-15 05:10:43 (1.55 MB/s) - ‘index.html’ saved [12/12] admin@i-0d60756cd4edc8643:~$ ls agent index.html webserver.py admin@i-0d60756cd4edc8643:~$ cat index.html Unauthorizedadmin@i-0d60756cd4edc8643:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /
paris/i-0d60756cd4edc8643 01:25
by SadServersWARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02cfdc6ce00292dbe:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-02cfdc6ce00292dbe:~$ sudo vgcreate VG /dev/sdb /dev/sdc Volume group "VG" successfully created admin@i-02cfdc6ce00292dbe:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02cfdc6ce00292dbe:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree VG 2 0 0 wz--n- 1.99g 1.99g admin@i-02cfdc6ce00292dbe:~$
kihei/i-02cfdc6ce00292dbe 06:35
by SadServers[sudo] password for admin: ^Csudo: 1 incorrect password attempt admin@i-09b7dc79be18d538a:~$ ^C admin@i-09b7dc79be18d538a:~$ netstat -an --tcp --program (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 (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State 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 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 249 172.31.37.243:8080 172.31.16.109:41784 ESTABLISHED admin@i-09b7dc79be18d538a:~$