Please, try to understand what I said on previous email.

--
Eero

2015-05-18 12:43 GMT+03:00 Saurav, Rajeev <[email protected]>:

> I tried below command with host ip 10.26.85.112 which is device ip on
> which target has been created in web based user interface GSA(GUI interface)
>
> Later on tried with server as host where my GUI has been installed,
>
>
>
> Could you please let me know will I use device ip as a host or exec server
> where GSA has been installed.
>
>
>
> Both the ping is not working here.
>
>
>
> [tbs-01.stalab.ciena.com(rsaurav)]-> ~ 102> omp --ping -u admin -w
> labuser -h 10.26.85.112 -p 9390
>
> Failed to acquire socket.
>
> [tbs-01.stalab.ciena.com(rsaurav)]-> ~ 103> omp --ping -u admin -w
> labuser -h tbs-02.stalab.ciena.com -p 9390
>
> OMP ping failed: Failed to establish connection.
>
>
>
>
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Eero Volotinen
> *Sent:* Monday, May 18, 2015 2:40 PM
> *To:* Saurav, Rajeev; [email protected]
>
> *Subject:* Re: [Openvas-discuss] Export, Import, Migrate
>
>
>
> Sound like problem with tcp connectivity.
>
>
>
> if omp --ping is not working, then you have problems with firewalls or
> processes are not listening correct interfaces.
>
>
>
> try this.
>
>
>
> *omp --ping -u admin -w labuser -h 10.26.85.112 -p 9390 *
>
>
>
> --
>
> Eero
>
>
>
> 2015-05-18 11:59 GMT+03:00 Saurav, Rajeev <[email protected]>:
>
> *Hi.*
>
>
>
> *I tried configuring target via omp but could not able to proceed.*
>
>
>
> *Steps tried:*
>
> *[tbs-01.stalab.ciena.com <http://tbs-01.stalab.ciena.com>(rsaurav)]-> ~
> 132> omp -u admin -w labuser -h 10.26.85.112 -p 9390 --xml="<create_target>
> <name>Target Name</name> <hosts>10.26.85.112</hosts> </create_target>"*
>
> *Failed to acquire socket.*
>
>
>
> *I am trying to create Target, task assigning to target and scan it to
> generate report.*
>
>
>
> *Could you please share  if any document link which help me to proceed
> here.*
>
>
>
> *Thanks,*
>
> *Rajeev Saurav*
>
>
>
>
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Eero Volotinen
> *Sent:* Friday, May 15, 2015 5:16 PM
> *To:* Saurav, Rajeev
> *Cc:* [email protected]
>
>
> *Subject:* Re: [Openvas-discuss] Export, Import, Migrate
>
>
>
> Hi,
>
> You need to use OMP protocol with XML as omp-cli does not support all
> needed commands. (or code needed functionality to omp-cli first)
>
> --
>
> Eero
>
>
>
> 2015-05-15 13:38 GMT+03:00 Saurav, Rajeev <[email protected]>:
>
> Hello all,
>
> I am working onto automate openvas tools (Version: 5.0 )(web based user
> interface GUI (GSA)) which includes create target, assigning to task and
> scan it through unix shell,
>
> Here are the few steps tried but could not get how to create target and
> scan it via cli.
>
> [tbs-01.stalab.ciena.com(rsaurav)]-> ~ 120> openvas-cli --host
> tbs-02.stalab.ciena.com -u admin -w labuser -T
> b493b7a8-7489-11df-a3ec-002264764cea  Localhost
> df5254d5-6759-49ca-aac3-fcfa4bb39225  Target for immediate scan of IP
> 10.26.80.253
> 9bc34d5f-36a2-4a1a-bc43-f217b231f977  Target for immediate scan of IP
> 10.33.82.31
>
>
> Get Configs:
> [tbs-01.stalab.ciena.com(rsaurav)]-> ~ 121> openvas-cli --host
> tbs-02.stalab.ciena.com -u admin -w labuser -g
> 8715c877-47a0-438d-98a3-27c7a6ab2196  Discovery
> 085569ce-73ed-11df-83c3-002264764cea  empty
> daba56c8-73ec-11df-a475-002264764cea  Full and fast
> 698f691e-7489-11df-9d8c-002264764cea  Full and fast ultimate
> 708f25c4-7489-11df-8094-002264764cea  Full and very deep
> 74db13d6-7489-11df-91b9-002264764cea  Full and very deep ultimate
> 2d3f051c-55ba-11e3-bf43-406186ea4fc5  Host Discovery
> bbca7412-a950-11e3-9109-406186ea4fc5  System Discovery
>
> Get Tasks:
> [tbs-01.stalab.ciena.com(rsaurav)]-> ~ 125> openvas-cli --host
> tbs-02.stalab.ciena.com -u admin -w labuser -G
> 4d56fc67-c36a-4ac6-88aa-cee901d9834e  Done         Immediate scan of IP
> 10.26.80.253
> 0dd211b2-7fee-4b6e-91eb-6da2f5ac4872  Done         Immediate scan of IP
> 10.33.82.31
>
> Could anyone please let me know how to handle it using command line.
>
> Thanks,
> Rajeev Saurav
>
>
> -----Original Message-----
> From: Openvas-discuss [mailto:[email protected]]
> On Behalf Of Brian Chabot
> Sent: Thursday, May 14, 2015 1:59 AM
> To: [email protected]
> Subject: Re: [Openvas-discuss] Export, Import, Migrate
>
> Since I think I just figured it out I'm going to reply to my own question:
>
> copy /var/lib/openvas/mgt/tasks.db to the new server (replacing the
> tasks.db there.  Make sure the permissions match)
> run: openvas -m on the new server to migrate the data.
> Restart openvas-managed openvas-scanner and gsad on the new server.
>
> The new server should have all the settings, scans, and results etc. a the
> old one now.... including the admin password.
>
> On Wed, May 13, 2015 at 11:00 AM, Brian Chabot <
> [email protected]> wrote:
> > Now that we've figured out the other details of installation, comes my
> > more technical question.
> >
> > With the older versions of OpenVAS, I need to extract the data and
> > preferably move it to the new install.
> >
> > What I'd like to do:
> > 1. Export all data (results and configs) from the old system.
> > 2. Import all that into a new install.
> > 3. Migrate to a new format/schema if necessary.
> >
> > I see that openvasmd has a --backup option, but there is no info as to
> > where the backup ends up nor how to import it.
> >
> >
> >
> > --
> > __________________________________
> >
> > Brian Chabot | Infrastructure Systems Administrator
> >
> > millennial media
> >
> > Mobile:  +1 603.728.1469
> > Email: [email protected]
> > Web: www.millennialmedia.com
>
>
>
> --
> __________________________________
>
> Brian Chabot | Infrastructure Systems Administrator
>
> millennial media
>
> Mobile:  +1 603.728.1469
> Email: [email protected]
> Web: www.millennialmedia.com
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
>
>
>
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to