Mailing List Archive

Targets file
When specifying a targets file on the commandline what is the format of the
file? What I recall is that it is one host per line, is that correct? Does
it allow ranges? E.g., 192.168.0.1-20? How about CIDR? 192.168.0.0/28?

I didn't see this documented in the NessusClient_3.2_User_Guide.pdf and
nothing else looked relevant.

Tim Doty
Systems Security Analyst
Missouri S&T
Re: Targets file [ In reply to ]
I've always done one host per line or comma separated (I forget which).
IIRC, I think CIDR is supposed to work, but I had some issues last time I
tried it.

On Tue, Aug 26, 2008 at 12:29 PM, Doty, Timothy T. <tdoty@mst.edu> wrote:

> When specifying a targets file on the commandline what is the format of the
> file? What I recall is that it is one host per line, is that correct? Does
> it allow ranges? E.g., 192.168.0.1-20? How about CIDR? 192.168.0.0/28?
>
> I didn't see this documented in the NessusClient_3.2_User_Guide.pdf and
> nothing else looked relevant.
>
> Tim Doty
> Systems Security Analyst
> Missouri S&T
>
> _______________________________________________
> Nessus mailing list
> Nessus@list.nessus.org
> http://mail.nessus.org/mailman/listinfo/nessus
>



--
Doug Nordwall
Unix, Network, and Security Administrator
You mean the vision is subject to low subscription rates?!!? - Scott Stone,
on MMORPGs
Re: Targets file [ In reply to ]
Doty, Timothy T. wrote:
> When specifying a targets file on the commandline what is the format of the
> file? What I recall is that it is one host per line, is that correct? Does
> it allow ranges? E.g., 192.168.0.1-20? How about CIDR? 192.168.0.0/28?
>
> I didn't see this documented in the NessusClient_3.2_User_Guide.pdf and
> nothing else looked relevant.
>

You can use a list of IPs, a range like 192.168.20.10-14 or CIDR blocks.

Ron


_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
RE: Targets file [ In reply to ]
Hosts per line has always worked for me. I usually run fping against the range (i.e . 192.168.0.0/24) and direct the output to a flat file and use that flat file as my target list.

~Chris

From: nessus-bounces@list.nessus.org [mailto:nessus-bounces@list.nessus.org] On Behalf Of Doug Nordwall
Sent: Wednesday, August 27, 2008 8:36 AM
To: Doty, Timothy T.
Cc: Nessus nessus
Subject: Re: Targets file

I've always done one host per line or comma separated (I forget which). IIRC, I think CIDR is supposed to work, but I had some issues last time I tried it.
On Tue, Aug 26, 2008 at 12:29 PM, Doty, Timothy T. <tdoty@mst.edu<mailto:tdoty@mst.edu>> wrote:
When specifying a targets file on the commandline what is the format of the
file? What I recall is that it is one host per line, is that correct? Does
it allow ranges? E.g., 192.168.0.1-20? How about CIDR? 192.168.0.0/28<http://192.168.0.0/28>?

I didn't see this documented in the NessusClient_3.2_User_Guide.pdf and
nothing else looked relevant.

Tim Doty
Systems Security Analyst
Missouri S&T

_______________________________________________
Nessus mailing list
Nessus@list.nessus.org<mailto:Nessus@list.nessus.org>
http://mail.nessus.org/mailman/listinfo/nessus



--
Doug Nordwall
Unix, Network, and Security Administrator
You mean the vision is subject to low subscription rates?!!? - Scott Stone, on MMORPGs
Re: Targets file [ In reply to ]
I reported a bug a while back about an issue in the targets file too.

You can't specify a host by name if the hostname has a hyphen in it.
Which means you can't scan name based vhs if they have hyphen's (via the
targets file). This isn't true of GUI client, but if run on the cmd
line like this:

/opt/nessus/bin/nessus -T nessus -xq localhost 1241 admin passwd targets

For example you can't put

www.my-domain.com

in there. It tries to operate on a range from www.my to domain.com

I'd really like to see this fixed. I'd like to run scans automatically
early in the morning.

John

Ron Gula wrote:
> Doty, Timothy T. wrote:
>> When specifying a targets file on the commandline what is the format of the
>> file? What I recall is that it is one host per line, is that correct? Does
>> it allow ranges? E.g., 192.168.0.1-20? How about CIDR? 192.168.0.0/28?
>>
>> I didn't see this documented in the NessusClient_3.2_User_Guide.pdf and
>> nothing else looked relevant.
>>
>
> You can use a list of IPs, a range like 192.168.20.10-14 or CIDR blocks.
>
> Ron
>
>
> _______________________________________________
> Nessus mailing list
> Nessus@list.nessus.org
> http://mail.nessus.org/mailman/listinfo/nessus
>


--
John Gray gray@agora-net.com
AgoraNet, Inc. (302) 224-2475
314 E. Main Street, Suite 1 (302) 224-2552 (fax)
Newark, De 19711 http://www.agora-net.com
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
RE: Targets file [ In reply to ]
Thanks all for the replies.

Tim Doty

-----Original Message-----
From: nessus-bounces@list.nessus.org [mailto:nessus-bounces@list.nessus.org]
On Behalf Of Ron Gula
Sent: Wednesday, August 27, 2008 9:42 AM
To: Nessus nessus
Subject: Re: Targets file

Doty, Timothy T. wrote:
> When specifying a targets file on the commandline what is the format of
the
> file? What I recall is that it is one host per line, is that correct? Does
> it allow ranges? E.g., 192.168.0.1-20? How about CIDR? 192.168.0.0/28?
>
> I didn't see this documented in the NessusClient_3.2_User_Guide.pdf and
> nothing else looked relevant.
>

You can use a list of IPs, a range like 192.168.20.10-14 or CIDR blocks.

Ron


_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus