Re: Restore Sessions vs. Manage Reports on Server

Jan-Oliver Wagner <[email protected]> Mon, 1 Nov 2004 16:41:12 +0100
Newsgroups gmane.comp.security.nessus.devel
Message-ID <[email protected]>
On Mon, Nov 01, 2004 at 04:13:57PM +0100, Jan-Oliver Wagner wrote:
> I am currently refactoring the "Restore/Delete Session" feature.
> 
> My idea was that actually this will be a "Manage Reports on Server"
> feature where you have the options to import one to your local client
> software or to delete one on the server side.
> 
> In the code I see that there is a lot handling of options and plugin
> configuration just for restoring a session.
> Shouldn't it be as simple as just retrieving the attack results
> alone?
> My preference would be to just load the results an not have even
> the monitoring dialog running.
> 
> Would it be correct to follow this idea of just getting the result
> data?

my first approach to this would be ignore nessus/attack.c:
restore_attack() and instead call comm_restore_session() 
directly from nessus/monitor_dialog.c:monitor_dialog_setup().
Coarse test show that this seems to work.

However, the questions remains: what was the stuff in restore_attack()
good for?

	Jan
-- 
Jan-Oliver Wagner               http://intevation.de/~jan/

Intevation GmbH                      http://intevation.de/
FreeGIS                                http://freegis.org/
_______________________________________________
Nessus-devel mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus-devel