Code Monkey home page Code Monkey logo

lasagna-pl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ciari estella

lasagna-pl's Issues

error global symbol

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??

Problem with parsing to json

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.