command-line-murders/i-05f32c7b5993ee586
by SadServersMore by SadServers
#!/bin/bash expected_checksum="d8bee9d7f830d5fb59b89e1e120cce8e" actual_checksum=$(md5sum /home/admin/mysolution | awk '{print $1}') if [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-061454707f2cf9aeb:~/agent$ file sadagent sadagent: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linkeH6A8cVluPFUvaNojVwMi/C5t-5rNiA5GJLWeSm5Qz/KXfivG_lDFnrqPGrWEJo/K_OQEFevUZEPr4lPEadmin@i-061454707f2cf9aeb:~/agent$ .. bash: ..: command not found admin@i-061454707f2cf9aeb:~/agent$
paris/i-061454707f2cf9aeb 01:55
by SadServersss ssh ssh-add ssh-agent ssh-argv0 ssh-copy-id ssadmin@i-0aa042ade078e1d14:~$ ss -tulnp | grep :5000 tcp LISTEN 0 128 127.0.0.1:5000 0.0.0.0:* admin@i-0aa042ade078e1d14:~$ ps ax | grep 128 845 pts/1 R<+ 0:00 grep 128 admin@i-0aa042ade078e1d14:~$ admin@i-0aa042ade078e1d14:~$ admin@i-0aa042ade078e1d14:~$ admin@i-0aa042ade078e1d14:~$ ls /etc/ Display all 153 possibilities? (y or n) admin@i-0aa042ade078e1d14:~$ ls /etc/n nanorc netconfig network/ networks nsswitch.conf admin@i-0aa042ade078e1d14:~$ ls /etc/n nanorc netconfig network/ networks nsswitch.conf admin@i-0aa042ade078e1d14:~$ ls /etc/
paris/i-0aa042ade078e1d14 03:02
by SadServersagent webserver.py admin@i-07ce4a8d4e2cfe93b:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-07ce4a8d4e2cfe93b:~$ usod cat webserver.py bash: usod: command not found admin@i-07ce4a8d4e2cfe93b:~$ sudo cat webserver.py We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin:
paris/i-07ce4a8d4e2cfe93b 02:12
by SadServersLogical volume "kihei" created. admin@i-0c30009ffa24545c7:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync kihei LVMVolGroup -wi-a----- 1.99g admin@i-0c30009ffa24545c7:~$ ls /dev/ LVMVolGroup disk kmsg nvme0n1 ptmx stderr tty13 tautofs dm-0 log nvme0n1p1 pts stdin tty14 tblock fd loop-control nvme0n1p14 random stdout tty15 tbtrfs-control full mapper nvme0n1p15 rtc tty tty16 tchar fuse mem nvme1 rtc0 tty0 tty17 tconsole hpet mqueue nvme1n1 sdb tty1 tty18 tcore hugepages net nvme2 sdc tty10 tty19 tcpu_dma_latency initctl null nvme2n1 shm tty11 tty2 tcuse input nvme0 nvram snapshot tty12 tty20 tadmin@i-0c30009ffa24545c7:~$