We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status code and server header are not preserved when snare returns error page.
sudo clone --target http://example.com
sudo snare --port 8080 --page-dir example.com
curl --head http://localhost:8080/notfound
HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Content-Length: 1237 Date: Mon, 01 Apr 2019 16:49:00 GMT Server: Python/3.6 aiohttp/3.4.4
Server header should be nginx, and status code should be 404
nginx
404
The text was updated successfully, but these errors were encountered:
fe391ae
No branches or pull requests
Status code and server header are not preserved when snare returns error page.
Steps to reproduce
sudo clone --target http://example.com
sudo snare --port 8080 --page-dir example.com
curl --head http://localhost:8080/notfound
. Response:Server header should be
nginx
, and status code should be404
The text was updated successfully, but these errors were encountered: