dmgnx / lasagna-pl Goto Github PK
View Code? Open in Web Editor NEWLazy naxsi rules generator
License: MIT License
Lazy naxsi rules generator
License: MIT License
hello,
im new in naxsi, and i will try lasagna to make whitelist rules.
im using perl-5 version 26, after running cat error.log | lasagna -o naxsi_testing.rules
i got error like this
root@kali:~/Download#cat error.log | lasagna -o testing.rules
syntax error at /usr/local/bin/lasagna line 108, near "$mz ~"
Global symbol "$zone" requires explicit package name at /usr/local/bin/lasagna line 111.
Global symbol "$zone" requires explicit package name at /usr/local/bin/lasagna line 114.
syntax error at /usr/local/bin/lasagna line 115, near "} else"
Global symbol "$mz" requires explicit package name at /usr/local/bin/lasagna line 116.
syntax error at /usr/local/bin/lasagna line 117, near "}"
Global symbol "$mz" requires explicit package name at /usr/local/bin/lasagna line 119.
Global symbol "$mz" requires explicit package name at /usr/local/bin/lasagna line 120.
Global symbol "$exceptions" requires explicit package name at /usr/local/bin/lasagna line 120.
Global symbol "$n" requires explicit package name at /usr/local/bin/lasagna line 120.
syntax error at /usr/local/bin/lasagna line 121, near "}"
/usr/local/bin/lasagna has too many errors.
and i try to solve this error, but i can't find the references for this error,
so, what should i do to fix this error??
I have add some debugging to catch this problem
Error was in : {"ip": "54.208.242.36", "server": "www.xxxx.com", "uri": "/market-analysis/forecast/usdjpy-2016-'"", "learning": "1", "vers": "0.56", "total_processed": "205", "total_blocked": "97", "block": "1", "cscore0": "$SQL", "score0": "12", "cscore1": "$XSS", "score1": "16", "zone0": "URL", "id0": "1001", "var_name0": "", "zone1": "URL", "id1": "1013", "var_name1": ""} ||| , or } expected while parsing object/hash, at character offset 103 (before "", "learning": "1", ...") at ./naim_lasagna.pl line 65, line 20526.
Error was in : {"ip": "54.208.242.36", "server": "www.xxx.com", "uri": "/market-analysis/\www.vulnweb.com/wtioil-2016-q1", "learning": "1", "vers": "0.56", "total_processed": "207", "total_blocked": "98", "block": "1", "cscore0": "$TRAVERSAL", "score0": "4", "zone0": "URL", "id0": "1205", "var_name0": ""} ||| illegal backslash escape sequence in string, at character offset 80 (before "\www.vulnweb.com/wt...") at ./naim_lasagna.pl line 65, line 20533.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.