1.61b: Further refinements to content classifier.

This commit is contained in:
Steve Pinkham 2010-08-27 11:47:51 -04:00
parent 5e85684e40
commit af1a154ac8
4 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
Version 1.61b:
--------------
- Further refinements to content classifier.
Version 1.60b:
--------------

View File

@ -20,7 +20,7 @@
#
PROGNAME = skipfish
VERSION = 1.60b
VERSION = 1.61b
OBJFILES = http_client.c database.c crawler.c analysis.c report.c
INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \

View File

@ -2353,7 +2353,7 @@ static void check_for_stuff(struct http_request* req,
while (*x && (isalnum(*x) || strchr("./*!+=$", *x)) &&
(x - sniffbuf) < 128) x++;
if (*x == ':' || !*x || isspace(*x))
if (*x == ':' || !*x || *x == '\r' || *x == '\n')
problem(PROB_FILE_POI, req, res, (u8*)
"Possible password file", req->pivot, 0);

View File

@ -240,10 +240,10 @@ static const char* form_suggestion[][2] = {
{ "site" , "http://example.com/?sfish_form_test" },
{ "domain" , "example.com" },
{ "search" , "a" },
{ "comment" , "jellyfish" },
{ "desc" , "jellyfish" },
{ "title" , "jellyfish" },
{ "subject" , "jellyfish" },
{ "comment" , "skipfish" },
{ "desc" , "skipfish" },
{ "title" , "skipfish" },
{ "subject" , "skipfish" },
{ NULL , "1" }
};