honeynet / riotpot

the IoT and OT (Operational Technology) Honeypot
MIT License
18 stars 4 forks source link

Changed template for high-level HTTP service #25

Closed eltsai closed 1 year ago

eltsai commented 1 year ago

Added a custom template for high-level HTTP service, so that it is not the default "It Works!" template.

Mimicking the HTTP page in low-level emulation: http_apache

The dockerfile and index.html for configuration is under /build/docker/service/custom_httpd, also added the test file for high-level HTTP service (testing HTML content and status code):

~/Projects/riotpot/test/external$ go test httpd_apache_test.go 
ok      command-line-arguments  0.003s
eltsai commented 1 year ago

http_apache Also added the configured HTTPS service - added README.md under custom_http on how to generate self-signed certificates.