nbs-system / nxtool-ng

Because life is too short to waste your time transforming naxsi logs to rules by hand
42 stars 13 forks source link

regex support for filters #9

Closed shaddai closed 7 years ago

shaddai commented 7 years ago

Currently filters in nxtool are static. A filter for var_name: g-recaptcha-response can easily be added whereas a filter for comments: import:2016-09-29 08:22:17.215923,Whitelisted:2016-09-30 10:09:31.724727 cannot be added since the last part is modified for each event.

Could you please add a regex support for the --filter option. This way users could filter fields like this --filter "comments:.*Whitelisted.*"

jvoisin commented 7 years ago

@shaddai Is it working? (I'm doing complain-driven development)