Skip to content

Commit

Permalink
fix false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
client9 committed Apr 16, 2015
1 parent 3b3e8c7 commit 43a8128
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions data/false_positives.txt
Original file line number Diff line number Diff line change
Expand Up @@ -428,3 +428,4 @@ mr and mrs table sign
USPS 1-3 Day (USPS doesnt guarantee 3 day arrival)
foo or bar add 1
Apt is gated; call when you get here, and we'll come down to get it.
DaVi - Open and Close Your Blinds With Your Phone!
1 change: 0 additions & 1 deletion src/fingerprints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4676,7 +4676,6 @@ nof(v
nok&(
nok&1
nok&f
nok&n
nok&s
nok&v
nok(1
Expand Down
3 changes: 1 addition & 2 deletions src/libinjection_sqli_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -4523,7 +4523,6 @@ static const keyword_t sql_keywords[] = {
{"0NOK&(", 'F'},
{"0NOK&1", 'F'},
{"0NOK&F", 'F'},
{"0NOK&N", 'F'},
{"0NOK&S", 'F'},
{"0NOK&V", 'F'},
{"0NOK(1", 'F'},
Expand Down Expand Up @@ -9286,5 +9285,5 @@ static const keyword_t sql_keywords[] = {
{"||", '&'},
{"~*", 'o'},
};
static const size_t sql_keywords_sz = 8990;
static const size_t sql_keywords_sz = 8989;
#endif
2 changes: 1 addition & 1 deletion src/make_parens.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self):
'n&nTn', 'nA', 'nos;n', 'UEn', 'so1no', '1)on', '1k(1)',
's)on', '1;TnE', 's&1s', 'n)c', 'svs', '1n(1)',
'so1s(', 'son1s', 'nf(1n', 'so1sf', 'son1s', 'nf(n)', 'En1c',
'n)on'
'n)on', "nok&n", "n;Tkn"
])
self.whitelist = set([
'T(vv)', 'Tnvos', 'Tnv;', '1UEnn', '1;Tvk'
Expand Down
1 change: 0 additions & 1 deletion src/sqlparse_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -4936,7 +4936,6 @@
"nok&(",
"nok&1",
"nok&f",
"nok&n",
"nok&s",
"nok&v",
"nok(1",
Expand Down

0 comments on commit 43a8128

Please sign in to comment.