updated weird message and tests

This commit is contained in:
wglodek 2016-03-04 18:03:24 -05:00
parent 78c0e2355c
commit 9ebe7b2a21
7 changed files with 10 additions and 10 deletions

View file

@ -1214,7 +1214,7 @@ int HTTP_Analyzer::HTTP_RequestLine(const char* line, const char* end_of_line)
// perform a weak test to see if the string "HTTP/"
// is found at the end of the RequestLine
if ( strcasecmp_n(6, end_of_line - 9, " HTTP/") == 0 )
goto evasion;
goto bad_http_request_with_version;
goto error;
}
@ -1237,8 +1237,8 @@ int HTTP_Analyzer::HTTP_RequestLine(const char* line, const char* end_of_line)
return 1;
evasion:
reporter->Weird(Conn(), "possible_evasion_attempt");
bad_http_request_with_version:
reporter->Weird(Conn(), "bad_HTTP_request_with_version_field");
return 0;
error: