Re: default profile

Bob Babcock <[email protected]> Wed, 29 Oct 2008 12:03:41 -0400
Newsgroups gmane.comp.security.nessus.general
Message-ID <[email protected]>
> there doesn't appear to be an
> easy way of deleting multiple hosts from the NessusClient window, i.e.
> If I have 25 hosts that need to be removed, I have to click each host
> and then the "-" button 25 times.

Here's a quick and dirty autoit script for the Windows version.  Command
line parameter is the number of entries to delete.  It starts at the top
of the list and alternately clicks hostname and - button.

WinActivate("Nessus :")
WinWaitActive("Nessus :")
$size = WinGetPos("Nessus :")
for $i = 1 to $CmdLine[1]
; Click first hostname
	MouseClick("left", $size[0]+100, $size[1]+214, 1, 0)
; Click delete (- button)
	MouseClick("left", $size[0]+63, $size[1]+$size[3]-122, 1, 0)
Next
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus