Check out the .nessusrc file. that has a setting for deciding which ports to scan. the option you are looking for is called "port_range", which can look like "default" or "1-65535" or "22-25,80,443" and all points in between
On 1/30/07, Sk8board Kid <[EMAIL PROTECTED]> wrote:
I would like to launch nessus from the command line using my nessus server on 127.0.0.1 in linux but would like it to skip the portscanning and use a list of ports that i specify instead. I thought I could create a kb in /opt/nessus/var/nessus/users/nessus/kbs/127/0/0/127.0.0.1 with the following content: 1170151262 3 Launched/10180=1 1170151262 3 Launched/10335=1 1170151262 3 Ports/tcp/80=1 1170151262 3 Ports/tcp/443=1 1170151262 3 Host/scanned=1 1170151262 3 Host/scanners/nessus_tcp_scanner=1 drwx------ 2 root root 4096 Jan 30 10:23 . drwx------ 3 root root 4096 Jan 29 15:04 .. -rw-r----- 1 root root 193 Jan 30 10:21 127.0.0.1 although the scan seems to work as expected, the kbs file is not updated with the scans results. If i remove the file nessus runs from scratch saving it's kb with all the info. Is there another way to do get the desired effect? Thanks _______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
-- Doug Nordwall Unix, Network, and Security Administrator Noise proves nothing. Often a hen who has merely laid an egg cackles as if she laid an asteroid. -- Mark Twain
_______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
