Skip to content

Merge 2.7.x #79

New issue

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

Merged
merged 4 commits into from
Apr 20, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion apache2/libinjection/sqli_fingerprints.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ static const char* patmap[] = {
"1k1U(",
"1k1Uk",
"1k1c",
"1k1o1",
"1kU1,",
"1kUs,",
"1kUv,",
Expand Down Expand Up @@ -526,6 +527,7 @@ static const char* patmap[] = {
"Ukv,n",
"Ukv,s",
"Ukv,v",
"f((f(",
"f((k(",
"f((kf",
"f()&f",
Expand Down Expand Up @@ -569,6 +571,7 @@ static const char* patmap[] = {
"f(vov",
"k()ok",
"k(1)U",
"k(f(1",
"k(ok(",
"k(s)U",
"k(sv)",
Expand All @@ -587,9 +590,11 @@ static const char* patmap[] = {
"k1,vc",
"k1,vk",
"k1k(k",
"k1kf(",
"k1o(s",
"k1o(v",
"k;non",
"kf((f",
"kf(1)",
"kf(1,",
"kf(f(",
Expand Down Expand Up @@ -640,7 +645,11 @@ static const char* patmap[] = {
"knvvn",
"ko(k(",
"ko(kf",
"ko(n,",
"ko(s,",
"kok(k",
"ks&(k",
"ks&(o",
"ks)",
"ks,1,",
"ks,1c",
Expand Down Expand Up @@ -734,9 +743,13 @@ static const char* patmap[] = {
"n))&v",
"n)))&",
"n)));",
"n)))B",
"n)))U",
"n)))k",
"n)))o",
"n));k",
"n))B1",
"n))Uk",
"n))kk",
"n))o(",
"n))o1",
Expand All @@ -750,6 +763,8 @@ static const char* patmap[] = {
"n);kk",
"n);kn",
"n);ko",
"n)B1c",
"n)Uk1",
"n)k1o",
"n)kks",
"n)kkv",
Expand Down Expand Up @@ -790,8 +805,10 @@ static const char* patmap[] = {
"n;kn(",
"n;ko(",
"n;kok",
"nB1c",
"nUk(k",
"nUk1,",
"nUk1c",
"nUkf(",
"nUkn,",
"nUks,",
Expand Down Expand Up @@ -829,6 +846,7 @@ static const char* patmap[] = {
"nof(1",
"nof(s",
"nof(v",
"nok(1",
"nok(f",
"nok(k",
"nok(s",
Expand Down Expand Up @@ -2138,7 +2156,7 @@ static const char* patmap[] = {
"vovso",
"vovvo",
};
static const size_t patmap_sz = 2135;
static const size_t patmap_sz = 2153;


/* Simple binary search */
Expand All @@ -2160,4 +2178,5 @@ int is_sqli_pattern(const char *key)
}
return 0; /* FALSE */
}

#endif
Loading