DL6ER
|
5060605626
|
Print table name before entering the loop for the sake of simplicity
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2019-05-30 21:44:59 +02:00 |
|
DL6ER
|
a904c183df
|
Use printf to escape domain content. This prevents possible SQL injection issues
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2019-05-04 18:25:11 +02:00 |
|
DL6ER
|
5246b3e496
|
Explicitly escape backslash in ESCAPE clause. This has been suggested by Stickler bot.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2019-05-04 13:24:36 +02:00 |
|
DL6ER
|
f80fdd7e83
|
Improve comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2019-05-04 13:19:50 +02:00 |
|
DL6ER
|
6ba58896d2
|
Simplify code
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2019-05-04 13:15:30 +02:00 |
|
DL6ER
|
3aa838bbe4
|
Implement black- and whitelist searching with SQL statements. We use the ESCAPE clause in the LIKE query as the underscore "_" wildcard matches any single character but we want to suppress this behavior (underscores can be legitimate part of domains)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2019-05-04 13:02:14 +02:00 |
|
DL6ER
|
b372f808dd
|
Fix lint errors
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2019-05-01 17:06:14 +02:00 |
|
DL6ER
|
bc9b623638
|
Modify query.sh to use the gravity database
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2019-05-01 16:56:16 +02:00 |
|
Adam Warner
|
a7f6c9b3a0
|
Ignore matches that start # using negative lookbehind
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
|
2019-03-29 00:08:04 +00:00 |
|
Dan Schaper
|
8f727c1f35
|
Space/Tab query.sh
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
|
2018-07-20 13:13:42 -07:00 |
|
Mcat12
|
4763969c8f
|
Move processWildcards to query.sh
Closes #2255
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
|
2018-06-30 22:03:53 -04:00 |
|
Mcat12
|
f868052062
|
Fix incorrect variable string substitution
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
|
2018-06-30 15:50:43 -04:00 |
|
Rob Gill
|
23adbf9540
|
remove quotes
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
|
2018-06-15 14:45:27 +10:00 |
|
Rob Gill
|
a7347238e6
|
$adListsList replace filename in text
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
|
2018-06-15 14:42:30 +10:00 |
|
Rob Gill
|
bf55666492
|
Appease stickler.
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
|
2018-06-13 16:29:07 +10:00 |
|
Rob Gill
|
8ab0b0e460
|
colfile
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
|
2018-06-13 16:25:43 +10:00 |
|
Rob Gill
|
b8e1849cec
|
wildcardlist
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
|
2018-06-13 16:19:07 +10:00 |
|
Rob Gill
|
45a8eda49b
|
Stop grep leak in query
Fix grep error leak from #1805
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
|
2018-06-13 16:08:21 +10:00 |
|