hammackj / risu

Risu is Nessus parser, that converts the generated reports into a ActiveRecord database, this allows for easy report generation and vulnerability verification.
http://hammackj.github.io/risu
MIT License
63 stars 20 forks source link

Installed 1.5.0 and working, kind of #56

Closed drewbrunson closed 11 years ago

drewbrunson commented 12 years ago

I've been looking to find an answer and so far have come up blank. I installed risu 1.5.0 earlier, created a config file, modified it and imported a nessus file. All good. I can see the db using mysql workbench and can create reports with risu using templates provided. Where I'm running into issues is that the reports don't seem to pick up the information from the cfg listing me as the author, etc. and when I try to create a template, which I think should be written into ~/.risu/templates, nothing shows up. I've even copied an existing template with a new name to the directory and it is not found. I'm running Fedora 16/32. Can you point me in the right direction for more info?

Thanks...

hammackj commented 12 years ago

Could you paste the config in question? (remove your password if in use)

The templates require manual copy so just copy the template.rb plugin to ~/.risu/templates/whatever.rb and then edit it. That should work.

If the problem still exists for either please update the ticket and I will see what I can do.

drewbrunson commented 12 years ago

Sure thing! Thanks. Just to note there are no trailing spaces following any of the lines. I did manually copy one of the other templates to ~/.risu/templates under another name.rb and tried to call that but it was not found....

report: author:Drew Brunson title:Information Security Consultant company:Idea classification:Confidential

database: adapter: mysql host: localhost port: 3306 database: nessus username: xxxx password: xxxxxxx timeout: 1000

hammackj commented 12 years ago

Try adding spaces between the : and the user data. Like so:

report:
  author: Jacob Hammack, CISSP | CEH | GREM
  title: Test Assessment
  company: Arxopia LLC.
  classification: confidential

database:
  adapter: sqlite3
  database: db.db
drewbrunson commented 12 years ago

Thanks! That seemed to work. Will keep working on getting the template thing working.

hammackj commented 12 years ago

Any luck on the custom template?

drewbrunson commented 12 years ago

Not yet ;-) I'm limited on time to work with it this week, but I'm squeezing in minutes where I can.

drewbrunson commented 12 years ago

Hmmm, nothing I try creates a template in ~/.risu/templates. I have even copied an existing template into ~/.risu/templates under a new name and it does not get seen. I note that there is a template_manager.rb, but I'm not sure when that gets called or if that might resolve it.

hammackj commented 12 years ago

Sorry are you still having this issue?

hammackj commented 11 years ago

I am unable to recreate this. If you are still having the issue please reopen the issue.