
rbabcock at cfa
Oct 29, 2008, 9:03 AM
Post #2 of 2
(777 views)
Permalink
|
> 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 Nessus [at] list http://mail.nessus.org/mailman/listinfo/nessus
|