Add fake WAF headers. - bitreich-httpd - Bitreich HTTPD service | |
git clone git://bitreich.org/bitreich-httpd git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 07d7b3c75a7a993294b4a7a1ac189e73e01e2bc5 | |
parent 541b20740b10f45a13f1f3c05bde2f176b2817c8 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sun, 23 Jun 2024 09:34:25 +0200 | |
Add fake WAF headers. | |
Diffstat: | |
M bitreich-httpd.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/bitreich-httpd.c b/bitreich-httpd.c | |
@@ -58,6 +58,8 @@ printheaders(char *ctype) | |
printf("X-Goat-1: /_/'_____/)\r\n"); | |
printf("X-Goat-2: \" | |\r\n"); | |
printf("X-Goat-3: |\"\"\"\"\"\"| \r\n"); | |
+ printf("X-Varnish: 37337\r\n"); | |
+ printf("Via: 1.1 varnish\r\n"); | |
printf("Host: bitreich.org\r\n"); | |
printf("Connection: close\r\n"); | |
} |