command-line-murders/i-07b4f854db982335a
by SadServersMore by SadServers
admin@i-0ef39eb9f44fc6704:~/agent$ ls check.sh sadagent sadagent.txt admin@i-0ef39eb9f44fc6704:~/agent$ cat check.sh #!/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-0ef39eb9f44fc6704:~/agent$ cat sa
paris/i-0ef39eb9f44fc6704 01:37
by SadServersfind: ‘/var/tmp/systemd-private-52eea95e00ec40f0923b8cd5c285895b-systemd-logind./var/log/journal /var/log/journal/ec26942be8219bc22967aa0256120fca find: ‘/var/log/private’: Permission denied find: ‘/var/log/chrony’: Permission denied find: ‘/var/lib/private’: Permission denied find: ‘/var/lib/apt/lists/partial’: Permission denied find: ‘/var/lib/chrony’: Permission denied /var/local /var/mail admin@i-0f5168148868846b7:~$ docker bash: docker: command not found admin@i-0f5168148868846b7:~$ podman bash: podman: command not found admin@i-0f5168148868846b7:~$
paris/i-0f5168148868846b7 05:49
by SadServers# kihei runs succesfully res=$(/home/admin/kihei) res=$(echo $res|tr -d '\r') if [[ "$res" = "Done." ]] then echo -n "OK" else echo -n "NO" fi admin@i-0afe27aa1ce9cfeda:~/agent$ ls -l /home/admin/datafile |cut -d' ' -f 5 5368709120 admin@i-0afe27aa1ce9cfeda:~/agent$ ls -l /home/admin/datafile -rw-r--r-- 1 root root 5368709120 Sep 17 2023 /home/admin/datafile admin@i-0afe27aa1ce9cfeda:~/agent$
kihei/i-0afe27aa1ce9cfeda 00:59
by SadServers16K spool 24K tmp admin@i-0cacbe2813d3e9a07:/var$ cd /proc/ admin@i-0cacbe2813d3e9a07:/proc$ ls 1 139 222 30 57 598 68 835 cpuinfo interrupts kpage10 14 23 4 572 6 7 879 crypto iomem kpage1003 140 24 402 573 60 77 9 devices ioports loada11 15 25 477 576 600 78 927 diskstats irq locks1154 16 251 49 58 601 8 acpi driver kallsyms memin1165 17 26 50 580 602 828 buddyinfo dynamic_debug kcore misc 119 18 27 51 588 61 83 bus execdomains key-users modul12 2 28 54 59 617 830 cgroups fb keys mount1273 20 29 55 591 62 833 cmdline filesystems kmsg mtrr 13 205 3 56 597 67 834 consoles fs kpagecgroup net admin@i-0cacbe2813d3e9a07:/proc$ du -hs