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

feature request: DB connection initiated #20

Closed ebdavison closed 12 years ago

ebdavison commented 13 years ago

It would be a great feature to be able to use the DB connection settings in the config file to launch a mysql client session, e.g.

nessusdb --config-file myscan.cfg --mysql-cli

hammackj commented 13 years ago

I am adding a irb type console that will allow interaction with the models and stuff, i dunno about launching a separate database client. If you had a nessusdb console would you still need to launch the normal database console?

ebdavison commented 13 years ago

Yes, I think it would be good to have both. I need to look at the raw tables sometimes and having to look up and type all of the server connection info is another step. I do stuff with additional tables and such quite often.

Maybe the CLI with the models and such might be sufficient but I do have a good picture of how I would use this.

hammackj commented 13 years ago

I have added a irb console in 1.4, I am looking at how rails does the database console stuff to implement something like that also.

Not sure when I will release 1.4 though. Lots of tests I have to write.

hammackj commented 12 years ago

The irb console has been live a while. This is much more usable than a direct database cli connection. As the relationships are used correctly. Going to close these, feel free to reopen if you think I should still add a direct database cli.