Discussion:
GSAD on Openvas 7 doesn't take credentials, hosts or tasks
Tom Powers
2014-08-13 19:45:07 UTC
Permalink
[cid:***@db18cb10.4fbf4aef]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Brandon Perry
2014-08-13 19:52:10 UTC
Permalink
Can you create targets with raw OMP?
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from
sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or a
credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a problem?
The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Brandon Perry
2014-08-13 20:05:05 UTC
Permalink
You can use the 'omp' utility to talk with the openvas manager directly,
either with some of the prebuilt arguments, or with explicit XML.

http://www.openvas.org/protocol-doc.html
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Not sure
how does one try that in the OpenVas 7? I made the jump from 3
to 7 here
so I’m sure I’ve missed some of the commands along the way
All insight is appreciated
Thanks
TP
*Sent:* Wednesday, August 13, 2014 2:52 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Can you create targets with raw OMP?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from
sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or a
credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a problem?
The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Tom Powers
2014-08-13 20:23:38 UTC
Permalink
[cid:***@ffb93e2a.42896309]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


Looks promising
but I must be stuck on a syntax error or something. The commands on the OMP site documentation don't match what I get when I tryp omp --help

I get this for options
and all I see is create task, no create credentials or targets

***@BFN-Securscan7:~# omp --help
Usage:
omp [OPTION...] - OpenVAS OMP Command Line Interface

Help Options:
-?, --help Show help options

Application Options:
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.

***@BFN-Securscan7:~#

From: Brandon Perry [mailto:***@gmail.com]
Sent: Wednesday, August 13, 2014 3:05 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can use the 'omp' utility to talk with the openvas manager directly, either with some of the prebuilt arguments, or with explicit XML.

http://www.openvas.org/protocol-doc.html

On Wed, Aug 13, 2014 at 2:59 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70A.8D979030]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Not sure
how does one try that in the OpenVas 7? I made the jump from 3 to 7 here
so I’m sure I’ve missed some of the commands along the way

All insight is appreciated

Thanks

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 2:52 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Can you create targets with raw OMP?

On Wed, Aug 13, 2014 at 2:45 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70A.8D979030]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


_______________________________________________
Openvas-discuss mailing list
Openvas-***@wald.intevation.org<mailto:Openvas-***@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Brandon Perry
2014-08-13 20:26:11 UTC
Permalink
Yep, you will need to build a small XML snippet to create a target, then
you can use --get-targets to ensure it was created:

omp --xml="<create_target><name>All GNU/Linux
machines</name><hosts>192.168.1.0/24</hosts></create_target>"

omp --get-targets
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Looks promising
but I must be stuck on a syntax error or something. The
commands on the OMP site documentation don't match what I get when I tryp
omp --help
I get this for options
and all I see is create task, no create credentials or targets
omp [OPTION...] - OpenVAS OMP Command Line Interface
-?, --help Show help options
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.
*Sent:* Wednesday, August 13, 2014 3:05 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can use the 'omp' utility to talk with the openvas manager directly,
either with some of the prebuilt arguments, or with explicit XML.
http://www.openvas.org/protocol-doc.html
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Not sure
how does one try that in the OpenVas 7? I made the jump from 3
to 7 here
so I’m sure I’ve missed some of the commands along the way
All insight is appreciated
Thanks
TP
*Sent:* Wednesday, August 13, 2014 2:52 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Can you create targets with raw OMP?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from
sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or a
credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a problem?
The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Brandon Perry
2014-08-13 20:26:32 UTC
Permalink
This will basically tell you whether the manager or GSA is the issue.
Post by Brandon Perry
Yep, you will need to build a small XML snippet to create a target, then
omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24</hosts></create_target>"
omp --get-targets
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Looks promising
but I must be stuck on a syntax error or something. The
commands on the OMP site documentation don't match what I get when I tryp
omp --help
I get this for options
and all I see is create task, no create
credentials or targets
omp [OPTION...] - OpenVAS OMP Command Line Interface
-?, --help Show help options
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.
*Sent:* Wednesday, August 13, 2014 3:05 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can use the 'omp' utility to talk with the openvas manager directly,
either with some of the prebuilt arguments, or with explicit XML.
http://www.openvas.org/protocol-doc.html
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Not sure
how does one try that in the OpenVas 7? I made the jump from 3
to 7 here
so I’m sure I’ve missed some of the commands along the way
All insight is appreciated
Thanks
TP
*Sent:* Wednesday, August 13, 2014 2:52 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Can you create targets with raw OMP?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed
from sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or
a credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a
problem? The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Tom Powers
2014-08-13 20:33:09 UTC
Permalink
[cid:***@cd7bd315.41883b56]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


OK
tried that
and it came back and asked for a password. I entered the admin one (as that’s the only one I have setup) and it said ": Failed to Acquire socket."

From: Brandon Perry [mailto:***@gmail.com]
Sent: Wednesday, August 13, 2014 3:27 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

This will basically tell you whether the manager or GSA is the issue.

On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry <***@gmail.com<mailto:***@gmail.com>> wrote:
Yep, you will need to build a small XML snippet to create a target, then you can use --get-targets to ensure it was created:


omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24<http://192.168.1.0/24></hosts></create_target>"

omp --get-targets

On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70B.E17F66E0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Looks promising
but I must be stuck on a syntax error or something. The commands on the OMP site documentation don't match what I get when I tryp omp --help

I get this for options
and all I see is create task, no create credentials or targets

***@BFN-Securscan7:~# omp --help
Usage:
omp [OPTION...] - OpenVAS OMP Command Line Interface

Help Options:
-?, --help Show help options

Application Options:
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.

***@BFN-Securscan7:~#

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:05 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can use the 'omp' utility to talk with the openvas manager directly, either with some of the prebuilt arguments, or with explicit XML.

http://www.openvas.org/protocol-doc.html

On Wed, Aug 13, 2014 at 2:59 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70B.E17F66E0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Not sure
how does one try that in the OpenVas 7? I made the jump from 3 to 7 here
so I’m sure I’ve missed some of the commands along the way

All insight is appreciated

Thanks

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 2:52 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Can you create targets with raw OMP?

On Wed, Aug 13, 2014 at 2:45 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70B.E17F66E0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


_______________________________________________
Openvas-discuss mailing list
Openvas-***@wald.intevation.org<mailto:Openvas-***@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Brandon Perry
2014-08-13 20:35:53 UTC
Permalink
Is openvasmd running?
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
tried that
and it came back and asked for a password. I entered the
admin one (as that’s the only one I have setup) and it said ": Failed to
Acquire socket."
*Sent:* Wednesday, August 13, 2014 3:27 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
This will basically tell you whether the manager or GSA is the issue.
Yep, you will need to build a small XML snippet to create a target, then
omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24</hosts></create_target>"
omp --get-targets
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Looks promising
but I must be stuck on a syntax error or something. The
commands on the OMP site documentation don't match what I get when I tryp
omp --help
I get this for options
and all I see is create task, no create credentials or targets
omp [OPTION...] - OpenVAS OMP Command Line Interface
-?, --help Show help options
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.
*Sent:* Wednesday, August 13, 2014 3:05 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can use the 'omp' utility to talk with the openvas manager directly,
either with some of the prebuilt arguments, or with explicit XML.
http://www.openvas.org/protocol-doc.html
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Not sure
how does one try that in the OpenVas 7? I made the jump from 3
to 7 here
so I’m sure I’ve missed some of the commands along the way
All insight is appreciated
Thanks
TP
*Sent:* Wednesday, August 13, 2014 2:52 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Can you create targets with raw OMP?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from
sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or a
credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a problem?
The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Tom Powers
2014-08-13 20:39:59 UTC
Permalink
[cid:***@42068b55.4dba6601]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


I just restarted all the services as you asked that. They all came back up fine
and it now says “Failed to authenticate”

Do I need a username and password in this XML string to correctly Identify myself?

TP

From: Brandon Perry [mailto:***@gmail.com]
Sent: Wednesday, August 13, 2014 3:36 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Is openvasmd running?

On Wed, Aug 13, 2014 at 3:33 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70C.D65578D0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
tried that
and it came back and asked for a password. I entered the admin one (as that’s the only one I have setup) and it said ": Failed to Acquire socket."

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:27 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

This will basically tell you whether the manager or GSA is the issue.

On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry <***@gmail.com<mailto:***@gmail.com>> wrote:
Yep, you will need to build a small XML snippet to create a target, then you can use --get-targets to ensure it was created:


omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24<http://192.168.1.0/24></hosts></create_target>"

omp --get-targets

On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70C.D65578D0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Looks promising
but I must be stuck on a syntax error or something. The commands on the OMP site documentation don't match what I get when I tryp omp --help

I get this for options
and all I see is create task, no create credentials or targets

***@BFN-Securscan7:~# omp --help
Usage:
omp [OPTION...] - OpenVAS OMP Command Line Interface

Help Options:
-?, --help Show help options

Application Options:
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.

***@BFN-Securscan7:~#

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:05 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can use the 'omp' utility to talk with the openvas manager directly, either with some of the prebuilt arguments, or with explicit XML.

http://www.openvas.org/protocol-doc.html

On Wed, Aug 13, 2014 at 2:59 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70C.D65578D0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Not sure
how does one try that in the OpenVas 7? I made the jump from 3 to 7 here
so I’m sure I’ve missed some of the commands along the way

All insight is appreciated

Thanks

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 2:52 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Can you create targets with raw OMP?

On Wed, Aug 13, 2014 at 2:45 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70C.D65578D0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


_______________________________________________
Openvas-discuss mailing list
Openvas-***@wald.intevation.org<mailto:Openvas-***@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Brandon Perry
2014-08-13 20:41:24 UTC
Permalink
You can pass -u and -w (username and password, respectively) as arguments
as well.
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
I just restarted all the services as you asked that. They all came back up
fine
and it now says “Failed to authenticate”
Do I need a username and password in this XML string to correctly Identify myself?
TP
*Sent:* Wednesday, August 13, 2014 3:36 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Is openvasmd running?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
tried that
and it came back and asked for a password. I entered the
admin one (as that’s the only one I have setup) and it said ": Failed to
Acquire socket."
*Sent:* Wednesday, August 13, 2014 3:27 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
This will basically tell you whether the manager or GSA is the issue.
Yep, you will need to build a small XML snippet to create a target, then
omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24</hosts></create_target>"
omp --get-targets
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Looks promising
but I must be stuck on a syntax error or something. The
commands on the OMP site documentation don't match what I get when I tryp
omp --help
I get this for options
and all I see is create task, no create credentials or targets
omp [OPTION...] - OpenVAS OMP Command Line Interface
-?, --help Show help options
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.
*Sent:* Wednesday, August 13, 2014 3:05 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can use the 'omp' utility to talk with the openvas manager directly,
either with some of the prebuilt arguments, or with explicit XML.
http://www.openvas.org/protocol-doc.html
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Not sure
how does one try that in the OpenVas 7? I made the jump from 3
to 7 here
so I’m sure I’ve missed some of the commands along the way
All insight is appreciated
Thanks
TP
*Sent:* Wednesday, August 13, 2014 2:52 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Can you create targets with raw OMP?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from
sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or a
credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a problem?
The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Tom Powers
2014-08-13 20:46:47 UTC
Permalink
[cid:***@5af9c9d3.40b7b0e9]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


OK
that’s what I did and I got a successful response.

When I listed out the –get-targets omp command, I actually saw the ones I tried to create in GSAD.

So I go back into GSAD and it shows my targets and my credentials that I tried to create before.

That’s interesting. Nonetheless
it seems to be working now
it’s taking tasks through the GSAD
so whatever was hung up is OK now.

Must have been the OMP commands because I restarted this thing a truck load of times trying to see if it clears up.

Thanks for all your help


TP

From: Brandon Perry [mailto:***@gmail.com]
Sent: Wednesday, August 13, 2014 3:41 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can pass -u and -w (username and password, respectively) as arguments as well.

On Wed, Aug 13, 2014 at 3:39 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70D.C958EDA0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


I just restarted all the services as you asked that. They all came back up fine
and it now says “Failed to authenticate”

Do I need a username and password in this XML string to correctly Identify myself?

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:36 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Is openvasmd running?

On Wed, Aug 13, 2014 at 3:33 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70D.C958EDA0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
tried that
and it came back and asked for a password. I entered the admin one (as that’s the only one I have setup) and it said ": Failed to Acquire socket."

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:27 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

This will basically tell you whether the manager or GSA is the issue.

On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry <***@gmail.com<mailto:***@gmail.com>> wrote:
Yep, you will need to build a small XML snippet to create a target, then you can use --get-targets to ensure it was created:


omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24<http://192.168.1.0/24></hosts></create_target>"

omp --get-targets

On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70D.C958EDA0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Looks promising
but I must be stuck on a syntax error or something. The commands on the OMP site documentation don't match what I get when I tryp omp --help

I get this for options
and all I see is create task, no create credentials or targets

***@BFN-Securscan7:~# omp --help
Usage:
omp [OPTION...] - OpenVAS OMP Command Line Interface

Help Options:
-?, --help Show help options

Application Options:
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.

***@BFN-Securscan7:~#

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:05 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can use the 'omp' utility to talk with the openvas manager directly, either with some of the prebuilt arguments, or with explicit XML.

http://www.openvas.org/protocol-doc.html

On Wed, Aug 13, 2014 at 2:59 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70D.C958EDA0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Not sure
how does one try that in the OpenVas 7? I made the jump from 3 to 7 here
so I’m sure I’ve missed some of the commands along the way

All insight is appreciated

Thanks

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 2:52 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Can you create targets with raw OMP?

On Wed, Aug 13, 2014 at 2:45 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB70D.C958EDA0]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


_______________________________________________
Openvas-discuss mailing list
Openvas-***@wald.intevation.org<mailto:Openvas-***@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Brandon Perry
2014-08-13 20:48:26 UTC
Permalink
Glad to help!
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
that’s what I did and I got a successful response.
When I listed out the –get-targets omp command, I actually saw the ones I
tried to create in GSAD.
So I go back into GSAD and it shows my targets and my credentials that I
tried to create before.
That’s interesting. Nonetheless
it seems to be working now
it’s taking
tasks through the GSAD
so whatever was hung up is OK now.
Must have been the OMP commands because I restarted this thing a truck
load of times trying to see if it clears up.
Thanks for all your help
TP
*Sent:* Wednesday, August 13, 2014 3:41 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can pass -u and -w (username and password, respectively) as arguments as well.
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
I just restarted all the services as you asked that. They all came back up
fine
and it now says “Failed to authenticate”
Do I need a username and password in this XML string to correctly Identify myself?
TP
*Sent:* Wednesday, August 13, 2014 3:36 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Is openvasmd running?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
tried that
and it came back and asked for a password. I entered the
admin one (as that’s the only one I have setup) and it said ": Failed to
Acquire socket."
*Sent:* Wednesday, August 13, 2014 3:27 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
This will basically tell you whether the manager or GSA is the issue.
Yep, you will need to build a small XML snippet to create a target, then
omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24</hosts></create_target>"
omp --get-targets
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Looks promising
but I must be stuck on a syntax error or something. The
commands on the OMP site documentation don't match what I get when I tryp
omp --help
I get this for options
and all I see is create task, no create credentials or targets
omp [OPTION...] - OpenVAS OMP Command Line Interface
-?, --help Show help options
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.
*Sent:* Wednesday, August 13, 2014 3:05 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can use the 'omp' utility to talk with the openvas manager directly,
either with some of the prebuilt arguments, or with explicit XML.
http://www.openvas.org/protocol-doc.html
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Not sure
how does one try that in the OpenVas 7? I made the jump from 3
to 7 here
so I’m sure I’ve missed some of the commands along the way
All insight is appreciated
Thanks
TP
*Sent:* Wednesday, August 13, 2014 2:52 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Can you create targets with raw OMP?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from
sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or a
credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a problem?
The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Tom Powers
2014-08-14 18:32:47 UTC
Permalink
[cid:***@69bf01ff.46b84472]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


Might have spoken too soon


Looks like I can create targets just fine
but Credentials
are a no go
.it sits and hangs on the credentials

Would I use the create_lsc_credentials manually in omp to check this?

TP
From: Brandon Perry [mailto:***@gmail.com]
Sent: Wednesday, August 13, 2014 3:48 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Glad to help!

On Wed, Aug 13, 2014 at 3:46 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
that’s what I did and I got a successful response.

When I listed out the –get-targets omp command, I actually saw the ones I tried to create in GSAD.

So I go back into GSAD and it shows my targets and my credentials that I tried to create before.

That’s interesting. Nonetheless
it seems to be working now
it’s taking tasks through the GSAD
so whatever was hung up is OK now.

Must have been the OMP commands because I restarted this thing a truck load of times trying to see if it clears up.

Thanks for all your help


TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:41 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can pass -u and -w (username and password, respectively) as arguments as well.

On Wed, Aug 13, 2014 at 3:39 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


I just restarted all the services as you asked that. They all came back up fine
and it now says “Failed to authenticate”

Do I need a username and password in this XML string to correctly Identify myself?

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:36 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Is openvasmd running?

On Wed, Aug 13, 2014 at 3:33 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
tried that
and it came back and asked for a password. I entered the admin one (as that’s the only one I have setup) and it said ": Failed to Acquire socket."

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:27 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

This will basically tell you whether the manager or GSA is the issue.

On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry <***@gmail.com<mailto:***@gmail.com>> wrote:
Yep, you will need to build a small XML snippet to create a target, then you can use --get-targets to ensure it was created:


omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24<http://192.168.1.0/24></hosts></create_target>"

omp --get-targets

On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Looks promising
but I must be stuck on a syntax error or something. The commands on the OMP site documentation don't match what I get when I tryp omp --help

I get this for options
and all I see is create task, no create credentials or targets

***@BFN-Securscan7:~# omp --help
Usage:
omp [OPTION...] - OpenVAS OMP Command Line Interface

Help Options:
-?, --help Show help options

Application Options:
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.

***@BFN-Securscan7:~#

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:05 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can use the 'omp' utility to talk with the openvas manager directly, either with some of the prebuilt arguments, or with explicit XML.

http://www.openvas.org/protocol-doc.html

On Wed, Aug 13, 2014 at 2:59 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Not sure
how does one try that in the OpenVas 7? I made the jump from 3 to 7 here
so I’m sure I’ve missed some of the commands along the way

All insight is appreciated

Thanks

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 2:52 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Can you create targets with raw OMP?

On Wed, Aug 13, 2014 at 2:45 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


_______________________________________________
Openvas-discuss mailing list
Openvas-***@wald.intevation.org<mailto:Openvas-***@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Brandon Perry
2014-08-14 18:33:52 UTC
Permalink
Yes, you would use that exact XML command to create your credentials.
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Might have spoken too soon

Looks like I can create targets just fine
but Credentials
are a no go
.it
sits and hangs on the credentials
Would I use the create_lsc_credentials manually in omp to check this?
TP
*Sent:* Wednesday, August 13, 2014 3:48 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Glad to help!
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
that’s what I did and I got a successful response.
When I listed out the –get-targets omp command, I actually saw the ones I
tried to create in GSAD.
So I go back into GSAD and it shows my targets and my credentials that I
tried to create before.
That’s interesting. Nonetheless
it seems to be working now
it’s taking
tasks through the GSAD
so whatever was hung up is OK now.
Must have been the OMP commands because I restarted this thing a truck
load of times trying to see if it clears up.
Thanks for all your help
TP
*Sent:* Wednesday, August 13, 2014 3:41 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can pass -u and -w (username and password, respectively) as arguments as well.
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
I just restarted all the services as you asked that. They all came back up
fine
and it now says “Failed to authenticate”
Do I need a username and password in this XML string to correctly Identify myself?
TP
*Sent:* Wednesday, August 13, 2014 3:36 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Is openvasmd running?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
tried that
and it came back and asked for a password. I entered the
admin one (as that’s the only one I have setup) and it said ": Failed to
Acquire socket."
*Sent:* Wednesday, August 13, 2014 3:27 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
This will basically tell you whether the manager or GSA is the issue.
Yep, you will need to build a small XML snippet to create a target, then
omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24</hosts></create_target>"
omp --get-targets
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Looks promising
but I must be stuck on a syntax error or something. The
commands on the OMP site documentation don't match what I get when I tryp
omp --help
I get this for options
and all I see is create task, no create credentials or targets
omp [OPTION...] - OpenVAS OMP Command Line Interface
-?, --help Show help options
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.
*Sent:* Wednesday, August 13, 2014 3:05 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can use the 'omp' utility to talk with the openvas manager directly,
either with some of the prebuilt arguments, or with explicit XML.
http://www.openvas.org/protocol-doc.html
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Not sure
how does one try that in the OpenVas 7? I made the jump from 3
to 7 here
so I’m sure I’ve missed some of the commands along the way
All insight is appreciated
Thanks
TP
*Sent:* Wednesday, August 13, 2014 2:52 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Can you create targets with raw OMP?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from
sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or a
credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a problem?
The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Tom Powers
2014-08-14 18:47:06 UTC
Permalink
[cid:***@d30e1f05.438c7423]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


OK
here's what I tried

omp --xml="<create_lsc_credential><name>testcreds</name><login>DOWNTOWN\test</login><password>12345</password></create_lsc_credentials>" --username=admin --password=password


And it just hangs there.

And yes
right now the admin user is admin with a password of password. The Credential I am trying to make is an smb login to a windows domain

Ideas?

TP

From: Brandon Perry [mailto:***@gmail.com]
Sent: Thursday, August 14, 2014 1:34 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Yes, you would use that exact XML command to create your credentials.

On Thu, Aug 14, 2014 at 1:32 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C5.7844F860]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Might have spoken too soon


Looks like I can create targets just fine
but Credentials
are a no go
.it sits and hangs on the credentials

Would I use the create_lsc_credentials manually in omp to check this?

TP
From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:48 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Glad to help!

On Wed, Aug 13, 2014 at 3:46 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C5.7844F860]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
that’s what I did and I got a successful response.

When I listed out the –get-targets omp command, I actually saw the ones I tried to create in GSAD.

So I go back into GSAD and it shows my targets and my credentials that I tried to create before.

That’s interesting. Nonetheless
it seems to be working now
it’s taking tasks through the GSAD
so whatever was hung up is OK now.

Must have been the OMP commands because I restarted this thing a truck load of times trying to see if it clears up.

Thanks for all your help


TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:41 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can pass -u and -w (username and password, respectively) as arguments as well.

On Wed, Aug 13, 2014 at 3:39 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C5.7844F860]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


I just restarted all the services as you asked that. They all came back up fine
and it now says “Failed to authenticate”

Do I need a username and password in this XML string to correctly Identify myself?

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:36 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Is openvasmd running?

On Wed, Aug 13, 2014 at 3:33 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C5.7844F860]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
tried that
and it came back and asked for a password. I entered the admin one (as that’s the only one I have setup) and it said ": Failed to Acquire socket."

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:27 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

This will basically tell you whether the manager or GSA is the issue.

On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry <***@gmail.com<mailto:***@gmail.com>> wrote:
Yep, you will need to build a small XML snippet to create a target, then you can use --get-targets to ensure it was created:


omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24<http://192.168.1.0/24></hosts></create_target>"

omp --get-targets

On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C5.7844F860]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Looks promising
but I must be stuck on a syntax error or something. The commands on the OMP site documentation don't match what I get when I tryp omp --help

I get this for options
and all I see is create task, no create credentials or targets

***@BFN-Securscan7:~# omp --help
Usage:
omp [OPTION...] - OpenVAS OMP Command Line Interface

Help Options:
-?, --help Show help options

Application Options:
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.

***@BFN-Securscan7:~#

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:05 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can use the 'omp' utility to talk with the openvas manager directly, either with some of the prebuilt arguments, or with explicit XML.

http://www.openvas.org/protocol-doc.html

On Wed, Aug 13, 2014 at 2:59 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C5.7844F860]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Not sure
how does one try that in the OpenVas 7? I made the jump from 3 to 7 here
so I’m sure I’ve missed some of the commands along the way

All insight is appreciated

Thanks

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 2:52 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Can you create targets with raw OMP?

On Wed, Aug 13, 2014 at 2:45 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C5.7844F860]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


_______________________________________________
Openvas-discuss mailing list
Openvas-***@wald.intevation.org<mailto:Openvas-***@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Brandon Perry
2014-08-14 18:50:58 UTC
Permalink
I am really not sure, it sounds like a lock on the sqlite databases perhaps.

Can you kill the omp command that is hanging, then use lsof to figure out
if another process has locked the sqlite db?
Post by Tom Powers
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
here's what I tried
omp
--xml="<create_lsc_credential><name>testcreds</name><login>DOWNTOWN\test</login><password>12345</password></create_lsc_credentials>"
--username=admin --password=password
And it just hangs there.
And yes
right now the admin user is admin with a password of password.
The Credential I am trying to make is an smb login to a windows domain
Ideas?
TP
*Sent:* Thursday, August 14, 2014 1:34 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Yes, you would use that exact XML command to create your credentials.
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Might have spoken too soon

Looks like I can create targets just fine
but Credentials
are a no go
.it
sits and hangs on the credentials
Would I use the create_lsc_credentials manually in omp to check this?
TP
*Sent:* Wednesday, August 13, 2014 3:48 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Glad to help!
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
that’s what I did and I got a successful response.
When I listed out the –get-targets omp command, I actually saw the ones I
tried to create in GSAD.
So I go back into GSAD and it shows my targets and my credentials that I
tried to create before.
That’s interesting. Nonetheless
it seems to be working now
it’s taking
tasks through the GSAD
so whatever was hung up is OK now.
Must have been the OMP commands because I restarted this thing a truck
load of times trying to see if it clears up.
Thanks for all your help
TP
*Sent:* Wednesday, August 13, 2014 3:41 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can pass -u and -w (username and password, respectively) as arguments as well.
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
I just restarted all the services as you asked that. They all came back up
fine
and it now says “Failed to authenticate”
Do I need a username and password in this XML string to correctly Identify myself?
TP
*Sent:* Wednesday, August 13, 2014 3:36 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Is openvasmd running?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
OK
tried that
and it came back and asked for a password. I entered the
admin one (as that’s the only one I have setup) and it said ": Failed to
Acquire socket."
*Sent:* Wednesday, August 13, 2014 3:27 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
This will basically tell you whether the manager or GSA is the issue.
Yep, you will need to build a small XML snippet to create a target, then
omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24</hosts></create_target>"
omp --get-targets
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Looks promising
but I must be stuck on a syntax error or something. The
commands on the OMP site documentation don't match what I get when I tryp
omp --help
I get this for options
and all I see is create task, no create credentials or targets
omp [OPTION...] - OpenVAS OMP Command Line Interface
-?, --help Show help options
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.
*Sent:* Wednesday, August 13, 2014 3:05 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
You can use the 'omp' utility to talk with the openvas manager directly,
either with some of the prebuilt arguments, or with explicit XML.
http://www.openvas.org/protocol-doc.html
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Not sure
how does one try that in the OpenVas 7? I made the jump from 3
to 7 here
so I’m sure I’ve missed some of the commands along the way
All insight is appreciated
Thanks
TP
*Sent:* Wednesday, August 13, 2014 2:52 PM
*To:* Tom Powers
*Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
credentials, hosts or tasks
Can you create targets with raw OMP?
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello Openvas..
I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from
sources. Install went great.
Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30
Openvas-check comes back perfectly clean.
I can log into the Greenbone web console. When I try to add a target, or a
credential, the site simply sits there. it doesn’t time out, it doesn’t
fail, and it’s not frozen because I can navigate to other parts of the GSAD
site
.yet the credential or the target, or whatever, never gets created.
What could be the issue and where can I go to start looking for a problem?
The GSAD, Scanner, and Manager log files are all clean
Thanks
Tom Powers
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
------------------------------
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the
message and deleting it from your computer. Messages sent to and from us
may be monitored.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author and
do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
Tom Powers
2014-08-14 19:06:31 UTC
Permalink
[cid:***@7f4dcd21.4c82f23c]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


I can kill the command
and LSOF shows nothing on sqllite other than openvasmd.

If I kill openvasmd and rerun it, then I can send the credentials via the omp now just fine and it shows up in the GSAD.

Yet..try credentials through gsad and it hangs.

TP

From: Brandon Perry [mailto:***@gmail.com]
Sent: Thursday, August 14, 2014 1:51 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

I am really not sure, it sounds like a lock on the sqlite databases perhaps.

Can you kill the omp command that is hanging, then use lsof to figure out if another process has locked the sqlite db?

On Thu, Aug 14, 2014 at 1:47 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C7.C4FDB550]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
here's what I tried

omp --xml="<create_lsc_credential><name>testcreds</name><login>DOWNTOWN\test</login><password>12345</password></create_lsc_credentials>" --username=admin --password=password


And it just hangs there.

And yes
right now the admin user is admin with a password of password. The Credential I am trying to make is an smb login to a windows domain

Ideas?

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Thursday, August 14, 2014 1:34 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Yes, you would use that exact XML command to create your credentials.

On Thu, Aug 14, 2014 at 1:32 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C7.C4FDB550]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Might have spoken too soon


Looks like I can create targets just fine
but Credentials
are a no go
.it sits and hangs on the credentials

Would I use the create_lsc_credentials manually in omp to check this?

TP
From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:48 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Glad to help!

On Wed, Aug 13, 2014 at 3:46 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C7.C4FDB550]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
that’s what I did and I got a successful response.

When I listed out the –get-targets omp command, I actually saw the ones I tried to create in GSAD.

So I go back into GSAD and it shows my targets and my credentials that I tried to create before.

That’s interesting. Nonetheless
it seems to be working now
it’s taking tasks through the GSAD
so whatever was hung up is OK now.

Must have been the OMP commands because I restarted this thing a truck load of times trying to see if it clears up.

Thanks for all your help


TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:41 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can pass -u and -w (username and password, respectively) as arguments as well.

On Wed, Aug 13, 2014 at 3:39 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C7.C4FDB550]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


I just restarted all the services as you asked that. They all came back up fine
and it now says “Failed to authenticate”

Do I need a username and password in this XML string to correctly Identify myself?

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:36 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Is openvasmd running?

On Wed, Aug 13, 2014 at 3:33 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C7.C4FDB550]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


OK
tried that
and it came back and asked for a password. I entered the admin one (as that’s the only one I have setup) and it said ": Failed to Acquire socket."

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:27 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

This will basically tell you whether the manager or GSA is the issue.

On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry <***@gmail.com<mailto:***@gmail.com>> wrote:
Yep, you will need to build a small XML snippet to create a target, then you can use --get-targets to ensure it was created:


omp --xml="<create_target><name>All GNU/Linux machines</name><hosts>192.168.1.0/24<http://192.168.1.0/24></hosts></create_target>"

omp --get-targets

On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C7.C4FDB550]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Looks promising
but I must be stuck on a syntax error or something. The commands on the OMP site documentation don't match what I get when I tryp omp --help

I get this for options
and all I see is create task, no create credentials or targets

***@BFN-Securscan7:~# omp --help
Usage:
omp [OPTION...] - OpenVAS OMP Command Line Interface

Help Options:
-?, --help Show help options

Application Options:
-h, --host=<host> Connect to manager on host <host>
-p, --port=<number> Use port number <number>
-V, --version Print version.
-v, --verbose Verbose messages (WARNING: may reveal passwords).
--use-certs Use client certificates to authenticate
-u, --username=<username> OMP username
-w, --password=<password> OMP password
--config-file=<config-file> Configuration file for connection parameters.
-P, --prompt Prompt to exit.
-O, --get-omp-version Print OMP version.
-n, --name=<name> Name for create-task.
-C, --create-task Create a task.
-m, --comment=<name> Comment for create-task.
-c, --config=<config> Config for create-task.
-r, --rc Create task with RC read from stdin.
-t, --target=<target> Target for create-task.
-E, --delete-report Delete one or more reports.
-D, --delete-task Delete one or more tasks.
-R, --get-report Get report of one task.
-F, --get-report-formats Get report formats. (OMP 2.0 only)
-f, --format=<format> Format for get-report.
-G, --get-tasks Get status of one, many or all tasks.
-g, --get-configs Get configs.
-T, --get-targets Get targets.
-i, --pretty-print In combination with -X, pretty print the response.
-S, --start-task Start one or more tasks.
-M, --modify-task Modify a task.
--file Add text in stdin as file on task.
-X, --xml=<command> XML command (e.g. "<help/>""). "-" to read from stdin.

***@BFN-Securscan7:~#

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 3:05 PM

To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

You can use the 'omp' utility to talk with the openvas manager directly, either with some of the prebuilt arguments, or with explicit XML.

http://www.openvas.org/protocol-doc.html

On Wed, Aug 13, 2014 at 2:59 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C7.C4FDB550]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Not sure
how does one try that in the OpenVas 7? I made the jump from 3 to 7 here
so I’m sure I’ve missed some of the commands along the way

All insight is appreciated

Thanks

TP

From: Brandon Perry [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Wednesday, August 13, 2014 2:52 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org<mailto:openvas-***@wald.intevation.org>
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Can you create targets with raw OMP?

On Wed, Aug 13, 2014 at 2:45 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB7C7.C4FDB550]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


_______________________________________________
Openvas-discuss mailing list
Openvas-***@wald.intevation.org<mailto:Openvas-***@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Benoît Allard
2014-08-15 07:42:26 UTC
Permalink
Looks like I can create targets just fine?but Credentials?are a no
go?.it sits and hangs on the credentials
I had the same problem last week, in my case, the system was lacking
entropy to generate a new PGP key (was easy to see as openvasmd had a
hanging gpg child process).

I installed `haveged`, and the key generation finished within seconds,
unblocking the rest.

Regards,
Ben.

- --
Benoît Allard (B30A05B0)|Greenbone Networks GmbH|http://greenbone.net
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

Tom Powers
2014-08-13 19:59:11 UTC
Permalink
[cid:***@1772890d.44a758af]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


Not sure
how does one try that in the OpenVas 7? I made the jump from 3 to 7 here
so I’m sure I’ve missed some of the commands along the way

All insight is appreciated

Thanks

TP

From: Brandon Perry [mailto:***@gmail.com]
Sent: Wednesday, August 13, 2014 2:52 PM
To: Tom Powers
Cc: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

Can you create targets with raw OMP?

On Wed, Aug 13, 2014 at 2:45 PM, Tom Powers <***@sound-solutions.biz<mailto:***@sound-solutions.biz>> wrote:
[cid:***@01CFB707.23914210]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665<tel:715-842-7665>
Fax: 715-842-7620<tel:715-842-7620>


Hello Openvas..


I have a fresh build of Open Vas 7 running on Ubuntu 14.04. Installed from sources. Install went great.

Current versions of each app are:

Libraries 7.01
Scanner 4.01
Manager 5.0
GSAD 5.0
CLI 1.30

Openvas-check comes back perfectly clean.

I can log into the Greenbone web console. When I try to add a target, or a credential, the site simply sits there. it doesn’t time out, it doesn’t fail, and it’s not frozen because I can navigate to other parts of the GSAD site
.yet the credential or the target, or whatever, never gets created.

What could be the issue and where can I go to start looking for a problem? The GSAD, Scanner, and Manager log files are all clean

Thanks

Tom Powers


________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


_______________________________________________
Openvas-discuss mailing list
Openvas-***@wald.intevation.org<mailto:Openvas-***@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

________________________________
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals


This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
Loading...