On 01/02/07, Sk8board Kid <[EMAIL PROTECTED]> wrote:
i dont think the .nessusrc file allows you to tell the nessus server
not to portscan at all and also tell nessus which ports are open.

That's is why i'm directly creating a knowledgebase for the nessus
scan to use. This works fine, but an updated knowledge base is not
saved at the end of the scan.

Can anyone help with this?

On 30/01/07, Doug Nordwall <[EMAIL PROTECTED]> wrote:
> 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


i dont think the .nessusrc file allows you to tell the nessus server
not to portscan at all and also tell nessus which ports are open.

That's is why i'm directly creating a knowledgebase for the nessus
scan to use. This works fine, but an updated knowledge base is not
saved at the end of the scan.

Can anyone help with this?
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to