command-line-murders/i-0ddd88508d17ae5c3
by SadServersMore by SadServers
< Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Wed, 28 Feb 2024 20:58:43 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 207 < Connection: close < <!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 manualllling and try again.</p> * Closing connection 0 admin@i-045e1170ba04ed4e1:~$ vi mysolution admin@i-045e1170ba04ed4e1:~$ curl localhost:5000/index. -v
paris/i-045e1170ba04ed4e1 05:40
by SadServerslocal-fs-pre.target static - local-fs.target static - multi-user.target static - network-online.target static - admin@i-046eb98bd90d24c4a:~$ sudo -l Matching Defaults entries for admin on i-046eb98bd90d24c4a: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bi User admin may run the following commands on i-046eb98bd90d24c4a: (ALL : ALL) ALL (ALL) NOPASSWD: /sbin/shutdown admin@i-046eb98bd90d24c4a:~$ sudo /sbin/shutdown Shutdown scheduled for Fri 2024-02-23 19:06:27 UTC, use 'shutdown -c' to cancel.admin@i-046eb98bd90d24c4a:~$
paris/i-046eb98bd90d24c4a 05:02
by SadServersNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme2n1 259:1 0 1G 0 disk nvme0n1p1 259:2 0 7.9G 0 part / nvme0n1p14 259:3 0 3M 0 part nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme1n1 259:5 0 1G 0 disk admin@i-0b16adf98831f3727:~$ 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-0b16adf98831f3727:~$ sudo su root@i-0b16adf98831f3727:/home/admin# pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-0b16adf98831f3727:/home/admin#