Re: [Openvas-discuss] openvas9 omp question

2017-10-06 Thread Raphael Grewe
Which command did you use to install the tools?

⁣Gesendet mit BlueMail ​

Am 6. Okt. 2017, 18:50, um 18:50, tatooin  schrieb:
>Thanks Trent for your quick reply. I tried GVM, but I've some problems
>to make it runs smoothly. After installing dependencies it requested, I
>always end up with the following error message:
>ForensicLab ~ # gvm-cli 
>Traceback (most recent call last):
>  File "/usr/local/bin/gvm-cli", line 11, in 
>load_entry_point('gvm-tools==1.2.0', 'console_scripts', 'gvm-
>cli')()
>  File "/usr/local/lib/python2.7/dist-
>packages/pkg_resources/__init__.py", line 570, in load_entry_point
>return get_distribution(dist).load_entry_point(group, name)
>  File "/usr/local/lib/python2.7/dist-
>packages/pkg_resources/__init__.py", line 2751, in load_entry_point
>return ep.load()
>  File "/usr/local/lib/python2.7/dist-
>packages/pkg_resources/__init__.py", line 2405, in load
>return self.resolve()
>  File "/usr/local/lib/python2.7/dist-
>packages/pkg_resources/__init__.py", line 2411, in resolve
>module = __import__(self.module_name, fromlist=['__name__'],
>level=0)
>  File "/usr/local/lib/python2.7/dist-packages/gmp/clients/gvm_cli.py",
>
>line 33, in 
>from gmp.gvm_connection import (SSHConnection,
>  File "/usr/local/lib/python2.7/dist-packages/gmp/gvm_connection.py",
>line 33, in 
>from gmp.gmp import _gmp
>ImportError: No module named gmp
>Seems like a dependency problem with gmp; which is weird because gmp is
>in the source tree of gvm !
>Any clue ?
>ThanksOn Fri, 2017-10-06 at 10:55 +, Trent Townsend wrote:
>> Vincent,
>>   I had the exact same issue about a month ago.  I never figured out
>> why OMP stopped working.  Long story short, the problem described
>> below is limited to OMP.  The exact same XML commands I was using,
>> when migrated to GVM Tools, produced repetitive, dependable, and
>> expected results in the form of proper reports being generated.  I
>> don't know why OMP refused to produce the reports (
>> report_id=x/>) but GVM Tools works like a charm. Also, I believe GVM
>> Tools is going to replace OMP so migrating to GVM isn’t bad anyway. 
>>
>> --
>> Trent Townsend
>> CISSP, CCNA
>> Next Step Innovation 
>> 601.708.4500 x1201
>>
>> On Oct 6, 2017, at 5:08 AM, tatooin  wrote:
>>
>> > Hello,
>> >
>> > I'm trying  to generate reports with omp under openvas9. With
>> > openvas8, the command below was working fine to generate a scan
>> > report in csv format:
>> >
>> > omp -h 127.0.0.1 -u admin -w pass -iX '
>> > report_id="'$reportId'" levels="hml" format_id="'$formatId'"
>> > apply_overrides="1"/>' | xmlstarlet sel -t -v
>> > get_reports_response/report/text\(\) | base64 -i -d > $reportName
>> >
>> > Under openvas9, this no longer works. The output of xmlstarlet is
>> > now empty. I don't have knowledge in XML, and I don't succeed to
>> > generate reports with omp directly in base64 alhough I understood
>> > from the documentation it seems possible. 
>> >
>> > What's wrong with my command upon, or is there a better way to
>> > generate reports with omp ?
>> >
>> > Thank you !
>> > Vincent
>>  
>> ___
>> Openvas-discuss mailing list
>> Openvas-discuss@wald.intevation.org
>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-di
>> scuss
>>
>> This email is confidential and intended solely for the use of the
>> individual to whom it is addressed. Any views or opinions presented
>> are solely those of the author, and do not necessarily represent
>> those of Next Step Innovation. If you are not the intended recipient,
>> be advised that you have received this email in error, and that any
>> use, dissemination, forwarding, printing or copying of this email is
>> strictly prohibited. If you have received this email in error, please
>> contact the sender. 
>
>
>
>___
>Openvas-discuss mailing list
>Openvas-discuss@wald.intevation.org
>https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] openvas9 omp question

2017-10-06 Thread tatooin
Thanks Trent for your quick reply. I tried GVM, but I've some problems
to make it runs smoothly. After installing dependencies it requested, I
always end up with the following error message:
ForensicLab ~ # gvm-cli 
Traceback (most recent call last):
  File "/usr/local/bin/gvm-cli", line 11, in 
load_entry_point('gvm-tools==1.2.0', 'console_scripts', 'gvm-
cli')()
  File "/usr/local/lib/python2.7/dist-
packages/pkg_resources/__init__.py", line 570, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/dist-
packages/pkg_resources/__init__.py", line 2751, in load_entry_point
return ep.load()
  File "/usr/local/lib/python2.7/dist-
packages/pkg_resources/__init__.py", line 2405, in load
return self.resolve()
  File "/usr/local/lib/python2.7/dist-
packages/pkg_resources/__init__.py", line 2411, in resolve
module = __import__(self.module_name, fromlist=['__name__'],
level=0)
  File "/usr/local/lib/python2.7/dist-packages/gmp/clients/gvm_cli.py", 
line 33, in 
from gmp.gvm_connection import (SSHConnection,
  File "/usr/local/lib/python2.7/dist-packages/gmp/gvm_connection.py",
line 33, in 
from gmp.gmp import _gmp
ImportError: No module named gmp
Seems like a dependency problem with gmp; which is weird because gmp is
in the source tree of gvm !
Any clue ?
ThanksOn Fri, 2017-10-06 at 10:55 +, Trent Townsend wrote:
> Vincent,
>   I had the exact same issue about a month ago.  I never figured out
> why OMP stopped working.  Long story short, the problem described
> below is limited to OMP.  The exact same XML commands I was using,
> when migrated to GVM Tools, produced repetitive, dependable, and
> expected results in the form of proper reports being generated.  I
> don't know why OMP refused to produce the reports (
> report_id=x/>) but GVM Tools works like a charm. Also, I believe GVM
> Tools is going to replace OMP so migrating to GVM isn’t bad anyway. 
> 
> --
> Trent Townsend
> CISSP, CCNA
> Next Step Innovation 
> 601.708.4500 x1201
> 
> On Oct 6, 2017, at 5:08 AM, tatooin  wrote:
> 
> > Hello,
> > 
> > I'm trying  to generate reports with omp under openvas9. With
> > openvas8, the command below was working fine to generate a scan
> > report in csv format:
> > 
> > omp -h 127.0.0.1 -u admin -w pass -iX '
> > report_id="'$reportId'" levels="hml" format_id="'$formatId'"
> > apply_overrides="1"/>' | xmlstarlet sel -t -v
> > get_reports_response/report/text\(\) | base64 -i -d > $reportName
> > 
> > Under openvas9, this no longer works. The output of xmlstarlet is
> > now empty. I don't have knowledge in XML, and I don't succeed to
> > generate reports with omp directly in base64 alhough I understood
> > from the documentation it seems possible. 
> > 
> > What's wrong with my command upon, or is there a better way to
> > generate reports with omp ?
> > 
> > Thank you !
> > Vincent
>  
> ___
> Openvas-discuss mailing list
> Openvas-discuss@wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-di
> scuss
> 
> This email is confidential and intended solely for the use of the
> individual to whom it is addressed. Any views or opinions presented
> are solely those of the author, and do not necessarily represent
> those of Next Step Innovation. If you are not the intended recipient,
> be advised that you have received this email in error, and that any
> use, dissemination, forwarding, printing or copying of this email is
> strictly prohibited. If you have received this email in error, please
> contact the sender. ___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] Difference between CVE (Mitre Site x OpenVAS)

2017-10-06 Thread Christian Fischer
Hi,

On 02.10.2017 23:48, Josemar Maso wrote:
> Hello Everyone,
> 
> I use OpenVAS 9 in Kali Linux.
> On the mitre site (https://cve.mitre.org/cve), the TOTAL CVE IDs = 91108
> (until today).
> In OpenVAS, this number is higher "CVEs by CVSS (Total: 95242)".
> Does anyone know how to explain?
> 
> tks.
> 
> Maso, J

looks like the Mitre Count isn't up to date. If you check e.g.
https://nvd.nist.gov/general/nvd-dashboard you will get similar numbers
(Total  95564) like in OpenVAS.

Regards,

--

Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | http://greenbone.net
Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] Dead host detection

2017-10-06 Thread Christian Fischer
Hi,

On 02.10.2017 11:28, Not Fed wrote:
> Hello,
> 
> Does anybody know how well Openvas copes with devices which leave a
> network part way through a scan? I've been running some very
> unscientific tests, and it seems to hang for a very long period of time
> in such a case.
> 
> Is there any way I can speed up marking a host as failed / departed? 
> 
> Thanks in advance.

OpenVAS is currently not capable of what you're looking for. Since a few
weeks there are the NVTs like
http://plugins.openvas.org/index.php?oid=108215 but this is more like a
workaround and not a real solution.

Regards,

--

Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | http://greenbone.net
Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] openvas9 omp question

2017-10-06 Thread Trent Townsend
Vincent,
  I had the exact same issue about a month ago.  I never figured out why OMP 
stopped working.  Long story short, the problem described below is limited to 
OMP.  The exact same XML commands I was using, when migrated to GVM Tools, 
produced repetitive, dependable, and expected results in the form of proper 
reports being generated.  I don't know why OMP refused to produce the reports 
() but GVM Tools works like a charm. Also, I believe 
GVM Tools is going to replace OMP so migrating to GVM isn't bad anyway.

--
Trent Townsend
CISSP, CCNA
Next Step Innovation
601.708.4500 x1201

On Oct 6, 2017, at 5:08 AM, tatooin > 
wrote:

Hello,

I'm trying  to generate reports with omp under openvas9. With openvas8, the 
command below was working fine to generate a scan report in csv format:

omp -h 127.0.0.1 -u admin -w pass -iX '' | xmlstarlet sel -t 
-v get_reports_response/report/text\(\) | base64 -i -d > $reportName

Under openvas9, this no longer works. The output of xmlstarlet is now empty. I 
don't have knowledge in XML, and I don't succeed to generate reports with omp 
directly in base64 alhough I understood from the documentation it seems 
possible.

What's wrong with my command upon, or is there a better way to generate reports 
with omp ?

Thank you !
Vincent
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss



This email is confidential and intended solely for the use of the individual to 
whom it is addressed. Any views or opinions presented are solely those of the 
author, and do not necessarily represent those of Next Step Innovation. If you 
are not the intended recipient, be advised that you have received this email in 
error, and that any use, dissemination, forwarding, printing or copying of this 
email is strictly prohibited. If you have received this email in error, please 
contact the sender.

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

[Openvas-discuss] openvas9 omp question

2017-10-06 Thread tatooin
Hello,

I'm trying  to generate reports with omp under openvas9. With openvas8,
the command below was working fine to generate a scan report in csv
format:

omp -h 127.0.0.1 -u admin -w pass -iX '' | xmlstarlet sel -t -v
get_reports_response/report/text\(\) | base64 -i -d > $reportName

Under openvas9, this no longer works. The output of xmlstarlet is now
empty. I don't have knowledge in XML, and I don't succeed to generate
reports with omp directly in base64 alhough I understood from the
documentation it seems possible. 

What's wrong with my command upon, or is there a better way to generate
reports with omp ?

Thank you !
Vincent___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss