command-line-murders/i-03219d2552e98cd10
by SadServersMore by SadServers
a.out agent webserver.py $ admin@i-072b43453825ba99a:~$ find / -perm -u=s -type f 2>/dev/null /usr/lib/openssh/ssh-keysign /usr/lib/dbus-1.0/dbus-daemon-launch-helper /usr/bin/chsh /usr/bin/umount /usr/bin/mount /usr/bin/passwd /usr/bin/newgrp /usr/bin/sudo /usr/bin/chfn /usr/bin/su /usr/bin/gpasswd admin@i-072b43453825ba99a:~$ ./a.out /usr/bin/su
paris/i-072b43453825ba99a 03:20
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 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