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

Whitelist generation fails due to core dump #23

Open atomspring opened 7 years ago

atomspring commented 7 years ago

Hello there, if I run nxtool.py with --whitelist --flatfile /var/log/nginx/error.log and the log has stuff like [alert] 16676#16676: worker process 16678 exited on signal 11 (core dumped)\n is an invalid extlog or nxlog, string "ip=" not found.'] while parsing 2017/04/10 14:43:27 [alert] 16676#16676: worker process 16678 exited on signal 11 (core dumped) the whitelist generation fails.

Perhaps ignore stuff like that?