nbs-system / nxtool-ng

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

support globbing for flat-files arguments #15

Open he2ss opened 7 years ago

he2ss commented 7 years ago

It will be useful if the --flat-file argument can support globing, nxapi will be able to process many files at the same time.

example : python nxtool.py --flat-file /mydirectory/error.log.*

jvoisin commented 7 years ago

Blocked by #16

jvoisin commented 7 years ago

On the other hand, what about using something like python nxtool.py --stdin <<< $(cat /mydirectory/error.log.*) instead?

I don't think that we want that kind of logic inside nxtool-ng.