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 <t...@sound-solutions.biz>
wrote:

>
>  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:bperry.volat...@gmail.com]
> *Sent:* Wednesday, August 13, 2014 3:36 PM
>
> *To:* Tom Powers
> *Cc:* openvas-discuss@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 <t...@sound-solutions.biz>
> wrote:
>
>  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:bperry.volat...@gmail.com]
> *Sent:* Wednesday, August 13, 2014 3:27 PM
>
>
> *To:* Tom Powers
> *Cc:* openvas-discuss@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 <bperry.volat...@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</hosts></create_target>"
>
> omp --get-targets
>
>
>
> On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers <t...@sound-solutions.biz>
> wrote:
>
>   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
>
>
>
> root@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.
>
>
>
> root@BFN-Securscan7:~#
>
>
>
> *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
> *Sent:* Wednesday, August 13, 2014 3:05 PM
>
>
> *To:* Tom Powers
> *Cc:* openvas-discuss@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 <t...@sound-solutions.biz>
> wrote:
>
>   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:bperry.volat...@gmail.com]
> *Sent:* Wednesday, August 13, 2014 2:52 PM
> *To:* Tom Powers
> *Cc:* openvas-discuss@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 <t...@sound-solutions.biz>
> wrote:
>
>   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.
>
>
> _______________________________________________
> Openvas-discuss mailing list
> Openvas-discuss@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
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to