Hello,
>> If you want "concat" sql keyword to be added to SQL keywords rule(s),
>> it's not the good way to do.
>> To do so, we could simply add "concat" to rule 1000.
>
> i found some other sql-statements that might be added to rule 1000
>
> varchar(
> exec(
> declare(
> alter
>
> maybe for the alter - statement it would be better to wrap this in a single
> rule with a pcre like:
>
> "rx:ALTER\ +(database|procedure|table|column)"
Please don't do this !
I written naxsi exactly in order not to have to do this.
I don't want to have complex/evolved rules/patterns, but rather focus
on primitives used by attacks.
If you want to add this kind of patterns, do it this way rather :
- add "alter" to rule 1000
And then create a basic rule with another ID targetting specific
functions, and increasing SQL score.