Skip to content

Commit 4e3afa0

Browse files
committed
Merge pull request #79 from SpiderLabs/remotes/trunk
Merge 2.7.x
2 parents f6cd025 + 9f36e55 commit 4e3afa0

File tree

4 files changed

+256
-143
lines changed

4 files changed

+256
-143
lines changed

apache2/libinjection/sqli_fingerprints.h

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ static const char* patmap[] = {
394394
"1k1U(",
395395
"1k1Uk",
396396
"1k1c",
397+
"1k1o1",
397398
"1kU1,",
398399
"1kUs,",
399400
"1kUv,",
@@ -526,6 +527,7 @@ static const char* patmap[] = {
526527
"Ukv,n",
527528
"Ukv,s",
528529
"Ukv,v",
530+
"f((f(",
529531
"f((k(",
530532
"f((kf",
531533
"f()&f",
@@ -569,6 +571,7 @@ static const char* patmap[] = {
569571
"f(vov",
570572
"k()ok",
571573
"k(1)U",
574+
"k(f(1",
572575
"k(ok(",
573576
"k(s)U",
574577
"k(sv)",
@@ -587,9 +590,11 @@ static const char* patmap[] = {
587590
"k1,vc",
588591
"k1,vk",
589592
"k1k(k",
593+
"k1kf(",
590594
"k1o(s",
591595
"k1o(v",
592596
"k;non",
597+
"kf((f",
593598
"kf(1)",
594599
"kf(1,",
595600
"kf(f(",
@@ -640,7 +645,11 @@ static const char* patmap[] = {
640645
"knvvn",
641646
"ko(k(",
642647
"ko(kf",
648+
"ko(n,",
649+
"ko(s,",
643650
"kok(k",
651+
"ks&(k",
652+
"ks&(o",
644653
"ks)",
645654
"ks,1,",
646655
"ks,1c",
@@ -734,9 +743,13 @@ static const char* patmap[] = {
734743
"n))&v",
735744
"n)))&",
736745
"n)));",
746+
"n)))B",
747+
"n)))U",
737748
"n)))k",
738749
"n)))o",
739750
"n));k",
751+
"n))B1",
752+
"n))Uk",
740753
"n))kk",
741754
"n))o(",
742755
"n))o1",
@@ -750,6 +763,8 @@ static const char* patmap[] = {
750763
"n);kk",
751764
"n);kn",
752765
"n);ko",
766+
"n)B1c",
767+
"n)Uk1",
753768
"n)k1o",
754769
"n)kks",
755770
"n)kkv",
@@ -790,8 +805,10 @@ static const char* patmap[] = {
790805
"n;kn(",
791806
"n;ko(",
792807
"n;kok",
808+
"nB1c",
793809
"nUk(k",
794810
"nUk1,",
811+
"nUk1c",
795812
"nUkf(",
796813
"nUkn,",
797814
"nUks,",
@@ -829,6 +846,7 @@ static const char* patmap[] = {
829846
"nof(1",
830847
"nof(s",
831848
"nof(v",
849+
"nok(1",
832850
"nok(f",
833851
"nok(k",
834852
"nok(s",
@@ -2138,7 +2156,7 @@ static const char* patmap[] = {
21382156
"vovso",
21392157
"vovvo",
21402158
};
2141-
static const size_t patmap_sz = 2135;
2159+
static const size_t patmap_sz = 2153;
21422160

21432161

21442162
/* Simple binary search */
@@ -2160,4 +2178,5 @@ int is_sqli_pattern(const char *key)
21602178
}
21612179
return 0; /* FALSE */
21622180
}
2181+
21632182
#endif

0 commit comments

Comments
 (0)