command-line-murders/i-097e06017eae9dfe7
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 SadServersadmin@i-0dc1e7b02108a472f:~$ curl localhost:5000 Unauthorizedadmin@i-0dc1e7b02108a472f:~$ curl localhost:5000 GET / Unauthorizedcurl: (6) Could not resolve host: GET curl: (3) URL using bad/illegal format or missing URL admin@i-0dc1e7b02108a472f:~$ admin@i-0dc1e7b02108a472f:~$ curl localhost:5000 GET / Unauthorizedcurl: (6) Could not resolve host: GET curl: (3) URL using bad/illegal format or missing URL admin@i-0dc1e7b02108a472f:~$ admin@i-0dc1e7b02108a472f:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-0dc1e7b02108a472f:~$ cd /home/
paris/i-0dc1e7b02108a472f 02:06
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