command-line-murders/i-0af8d9ba816f84fd8
by SadServersMore by SadServers
-i, --include Include protocol response headers in the output -o, --output <file> Write to file instead of stdout -O, --remote-name Write output to a file named as the remote file -s, --silent Silent mode -T, --upload-file <file> Transfer local FILE to destination -u, --user <user:password> Server user and password -A, --user-agent <name> Send User-Agent <name> to server -v, --verbose Make the operation more talkative -V, --version Show version number and quit This is not the full help, this menu is stripped into categories. Use "--help category" to get an overview of all categories. For all options use the manual or "--help all". admin@i-0ebadfe95bbd0eb1b:~$ curl -A 'whatever' localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-0ebadfe95bbd0eb1b:~$
paris/i-0ebadfe95bbd0eb1b 01:49
by SadServersMemory: 21.9M CPU: 361ms CGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Nov 04 08:00:38 i-0ff13c81e3a7b9d0a systemd[1]: Started Flask Application. Nov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: * Serving Flask app 'webserveNov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: * Debug mode: off Nov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: WARNING: This is a developmentNov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: * Running on http://127.0.0.1Nov 04 08:00:39 i-0ff13c81e3a7b9d0a python3[574]: Press CTRL+C to quit Nov 04 08:02:22 i-0ff13c81e3a7b9d0a python3[574]: 127.0.0.1 - - [04/Nov/2023 08:admin@i-0ff13c81e3a7b9d0a:~$ ls agent webserver.py (reverse-i-search)`les': less /etc/systemd/system/flaskapp.service
paris/i-0ff13c81e3a7b9d0a 01:59
by SadServers> GET / HTTP/1.1 > Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Tue, 06 Feb 2024 07:30:57 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-03d5c3bada9b64230:~$