[Openvas-plugins] Parallelization of default_ssh_credentials.nasl
henri.doreau at greenbone.net
Wed Feb 1 14:58:34 CET 2012
I have noticed a consequent part of the duration of an authenticated
Full & Fast scan was due to default_ssh_credentials.nasl. The script
iterates through a list of 180 username/password couples and
sequentially attempts to use them to connect to the target.
In order to speedup the process, I've tried to load the
username/password list into KB and call get_kb_item() to retrieve each
item in a separate process (see the patch attached, not optimized). As
a result I would have expected to get four (my configuration)
concurrent processes connecting to the target. htop reveals that only
two are executed in parallel. I can't explain this behavior, at the
beginning of the scan I can clearly see four concurrent processes
(spawned by different NVTs). After a while
default_ssh_credentials.nasl is the only one still running, but with
two processes only.
Any idea what could be wrong or what I could be missing?
Henri Doreau | Greenbone Networks GmbH | http://www.greenbone.net
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1838 bytes
Desc: not available
More information about the Openvas-plugins