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

Reply via email to