ucinc / naxsi

Automatically exported from code.google.com/p/naxsi
Other
0 stars 0 forks source link

extractor is generating partially wrong rules? [0.47] #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Enter this rule in your whitelist file for a website:
BasicRule wl:1311 "mz:$URL:/plugin_event/profile/update_user|$BODY_VAR|NAME";

2. make sure the whitelist file is included in your website config:
server{
  location / {
    # naxsi:
    include    /etc/nginx/od-webshop.rules;
    ...
  }
  ...
}

3. restart nginx

What is the expected output? 
Restarting nginx: nginx.

What do you see instead?
Restarting nginx: nginx: [emerg] Naxsi-Config : Incorrect line BasicRule 
wl:1311 (../naxsi-0.47/naxsi_src/naxsi_skeleton.c/328)... in 
/etc/nginx/od-webshop.rules:18

What version of the product are you using? On what operating system?
0.47 compiled with nginx 1.2.1

this should be sufficient to reproduce this error...

Original issue reported on code.google.com by gross.r...@gmail.com on 26 Jul 2012 at 1:46

GoogleCodeExporter commented 8 years ago
Hello,

This has been fixed in SVN and will be in 0.48.
Please give a try at svn's version of nx_extract.

Original comment by ori...@gmail.com on 1 Aug 2012 at 5:34