Nessus
[Top] [All Lists]

Re: altering nessus knowledge base files

To: "Sk8board Kid" <sk8boardkid@gmail.com>
Subject: Re: altering nessus knowledge base files
From: "Doug Nordwall" <raleel@gmail.com>
Date: Tue, 30 Jan 2007 07:58:20 -0500
Cc: nessus@list.nessus.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: nessus-list1@securepoint.com
Delivered-to: nessus@list.nessus.org
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=N8Ft1dk8n1qcWn+/8O8HJW6JIv5q6hARd0ON+othzWsy/CJyIjDjxtFQvyY5HHU4NDipl0pRKMa/h/v5saiGRm3bj4PKyWzfj7Sslk7rQo44aBA0QOdFhUJLnzvGeyOf28XFFpbVlKNMztIH61zwxJeUkKi0zs23Ov00gT5C82c=
In-reply-to: <21ea48f10701300240w323d1814s227b72d9ab4a7a18@mail.gmail.com>
List-archive: <http://mail.nessus.org/pipermail/nessus>
List-help: <mailto:nessus-request@list.nessus.org?subject=help>
List-id: Discussion of Nessus software <nessus.list.nessus.org>
List-post: <mailto:nessus@list.nessus.org>
List-subscribe: <http://mail.nessus.org/mailman/listinfo/nessus>, <mailto:nessus-request@list.nessus.org?subject=subscribe>
List-unsubscribe: <http://mail.nessus.org/mailman/listinfo/nessus>, <mailto:nessus-request@list.nessus.org?subject=unsubscribe>
References: <21ea48f10701300240w323d1814s227b72d9ab4a7a18@mail.gmail.com>
Sender: nessus-bounces@list.nessus.org
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 <sk8boardkid@gmail.com> 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
Nessus@list.nessus.org
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
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
<Prev in Thread] Current Thread [Next in Thread>