Comments (7)
What do you mean by plugin info? The plugins table?
I use the tool 1 database per assessment.
from risu.
Yes, the plugins table. I just loaded another scan and it took 30 minutes to load. Just thinking that if the plugins could be stored in a "common" database that is used by all of the scans (assuming the scans were in different databases) then the load of new scans could be much faster as it could just check to see if the plugin data existed in the common set and if not then load it up. I know that the plugin output depends on the host but the rest is common. Would this help the load time? Is it something that would be worth looking at?
from risu.
How many hosts do you have in the .nessus file for it to take 30 minutes to load? I parse about 5000 in less than 5 minutes.
from risu.
Do you have any more information about this?
from risu.
I have 444 hosts with 38712 risks in the .nessus file. Seems each risk has to be parsed independently of all others and the common metadata is not just referenced.
from risu.
The parser does a find_or_create_by_id() on each plugin. There should only be 1 entry for each plugin in the plugins table. The risks are unique for the most part, while they do contain some overlapped data, plugin_output should be unique per Host/ReportItem.
References on the other hand are just a create() and I will fix that to be a find_or_create..() that may speed some things up. Expect that in v1.5.1.
What database adapter are you using? SQLite3 performance wouldn't be that great on that size of a dataset. Mysql should be faster by far.
from risu.
Hmmm. I am using MySQL and the speed is a real issue. Understood on the find_or_create_by_id() call. Maybe it is an issue with the speed to query the database for the find part of that call. Is there an index on the key you are using to look up the id? If not, maybe an index added to the create table statement might help.
from risu.
Related Issues (20)
- Unable to read font error HOT 2
- Data too long for column 'plugin_name' HOT 1
- SQL errors from most reports HOT 2
- SQL error when multiple OSs names are returned by Nessus for an host HOT 3
- VERY slow load speed HOT 16
- New XML elements HOT 3
- Trouble with Execute Summary template HOT 9
- risu's graphs template fails to generate, sqllite error HOT 3
- problem with risu in kali HOT 5
- New HostProperties attribute: UnsupportedProduct HOT 1
- Changing Risk Finding Colors HOT 32
- risu not installed in home directory HOT 2
- Risu won't stay installed on Kali HOT 13
- New XML element detected HOT 4
- New XML element: potential_vulnerability HOT 3
- New XML element. HOT 5
- Add support for attribute 'agent' HOT 7
- Support for multiple files and user-specified templates HOT 4
- Boolean fields stored as strings
- High instead of Critical items selected in findings_host.rb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from risu.