Code Monkey home page Code Monkey logo

Comments (8)

ebdavison avatar ebdavison commented on May 30, 2024

Found the problem. Here is a patch:

88c88

< select("items.*").select("count() as count_all").joins(:plugin).where("plugin_id != 1").where(:severity => 3).group(:plugin_id).order("count_all DESC").limit(limit)

                                  select("items.*").select("count(*) as count_all").joins(:plugin).where("plugin_id != 1").where(:severity => 3).group(:plugin_id).order("count_all DESC").limit(limit)

from risu.

ebdavison avatar ebdavison commented on May 30, 2024

I don't understand this git markup. I hope you can read that.

from risu.

hammackj avatar hammackj commented on May 30, 2024

1.1 template with 1.2 engine. Please use the 1.2 templates.

from risu.

ebdavison avatar ebdavison commented on May 30, 2024

How do I do that. I have done a 'git pull' which says it is current at 1.3 and the templates directory is where these files are. How do I get the 1.2 templates if not with a 'git pull'?

from risu.

hammackj avatar hammackj commented on May 30, 2024

Try this I am assuming you are using the system ruby:
First update your gems, this will give you nessusdb 1.2

sudo gem update

type nessusdb -v this should output soemthing like this:
nessusdb - Nessus Parser and Report Generator v1.2

cd some_project_directory
git://github.com/hammackj/nessusdb.git 1.3
cd 1.3
git checkout 1.3

then

nessusdb -t ./lib/nessusdb/templates/TEMPLATE -o output.pdf

this will use 1.2 to on a 1.3 template, all 1.3 templates should work except for the coversheet and that is because in 1.3, I expose the path to the template to the engine. So you will have to change the image path to your logo

You can try ./bin/nessusdb and use the binary from 1.3 but i am not sure that is fully functional yet, as 1.3 is a development branch. the config files for 1.3 are different along with other things.

from risu.

ebdavison avatar ebdavison commented on May 30, 2024

I did get 1.3 to work finally; I just need to come up to speed with git. Going through the templates for now.

from risu.

ebdavison avatar ebdavison commented on May 30, 2024

The graphs template still has the same error I already reported in 1.3 as well. Just ran through it and none of the graphs generate due to the 'count()' where it should be 'count(*)'.

I am fixing my copy of item.rb locally to handle for now. There are actually 5 of them that need to be fixed.

from risu.

hammackj avatar hammackj commented on May 30, 2024

I will look into the count(*) not sure why its not working for you.

from risu.

Related Issues (20)

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.