command-line-murders/i-0fae43ed79c64957c
by SadServersMore by SadServers
Saving to: ‘index.html’ index.html 100%[=====================================>] 12 2024-01-15 05:10:43 (1.55 MB/s) - ‘index.html’ saved [12/12] admin@i-0d60756cd4edc8643:~$ ls agent index.html webserver.py admin@i-0d60756cd4edc8643:~$ cat index.html Unauthorizedadmin@i-0d60756cd4edc8643:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /
paris/i-0d60756cd4edc8643 01:25
by SadServers})" admin@i-032f08c56ca9f458a:~$ echo "${HTTP_REQUEST}" >&"${NFD}" admin@i-032f08c56ca9f458a:~$ while read -u "${NFD}" lz ; do echo "${lz}" done admin@i-032f08c56ca9f458a:~$ exec {NFD}>&- admin@i-032f08c56ca9f458a:~$ lynx bash: lynx: command not found admin@i-032f08c56ca9f458a:~$ nc usage: nc [-46CDdFhklNnrStUuvZz] [-I length] [-i interval] [-M ttl] [-m minttl] [-O length] [-P proxy_username] [-p source_port] [-q seconds] [-s sourceaddr] [-T keyword] [-V rtable] [-W recvlimit] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [destination] [port] admin@i-032f08c56ca9f458a:~$ /usr/bin/printf 'GET / \n' | nc localhost 8
paris/i-032f08c56ca9f458a 05:20
by SadServersMain PID: 579 (python3) Tasks: 1 (limit: 521) Memory: 21.9M CPU: 329ms CGroup: /system.slice/flaskapp.service └─579 /usr/bin/python3 /home/admin/webserver.py Nov 29 16:17:05 i-0658b8fdee95eb0b6 systemd[1]: Started Flask Application. Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Serving Flask app 'webserveNov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Debug mode: off Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: WARNING: This is a developmentNov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Running on http://127.0.0.1Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: Press CTRL+C to quit Nov 29 16:17:35 i-0658b8fdee95eb0b6 python3[579]: 127.0.0.1 - - [29/Nov/2023 16:admin@i-0658b8fdee95eb0b6:~$ > /home/admin/.bash_history