Re: [Openvas-discuss] No result on executing single NASL scripts from host

2017-05-19 Thread Christian Fischer
Hi, On 19.05.2017 19:41, Nikita Gupta wrote: > I was trying to execute single script from host machine using command: > openvas-nasl -X scriptname.nasl > > But if the script uses default api call of "get_kb_list" or > "get_kb_item" then it returns nothing and script stops. > And because of

[Openvas-discuss] No result on executing single NASL scripts from host

2017-05-19 Thread Nikita Gupta
Hi All, I have installed openvas9 on my machine, Ubuntu 16.04. I was trying to execute single script from host machine using command: openvas-nasl -X scriptname.nasl But if the script uses default api call of "get_kb_list" or "get_kb_item" then it returns nothing and script stops. And because

Re: [Openvas-discuss] Problem with OpenVAS source code installation

2017-05-19 Thread Nikita Gupta
Thanks Thijs, I had installed gnutls but actually gnutls-dev package was required. After installing gnutls-dev, the issue got resolved. Regards, Nikita On Fri, May 19, 2017 at 6:30 PM, Thijs Stuurman < thijs.stuur...@internedservices.nl> wrote: > Try this one: > > > >

[Openvas-discuss] modifying which target belongs to a task

2017-05-19 Thread Jochen Dehm
Hi Niklas, as this morning already told on the phone, it works. Apologize the late reply, had your question here overlooked. :-) "id=\"$DUMMY_TARGET_UUID\"/>") Meanwhile I have my script also on my blog uploaded. You can use the script to attach a host to a target.

[Openvas-discuss] NVT Feed 14 days old

2017-05-19 Thread Miki Kologranic
On the web based GUI under "Feed Status" it says that the NVT content is 14 days old. My last version is 201705050549. Using the greenbone-nvt-sync -verbose --progress command, the feed seems to update and exits clean. Is there a way to confirm the latest available version? Also, how far behind

Re: [Openvas-discuss] Problem with OpenVAS source code installation

2017-05-19 Thread Thijs Stuurman
Try this one: ../openvas-libraries-9.0.1/build/CMakeCache.txt Line 40: //Flags used by the compiler during all build types. CMAKE_C_FLAGS:STRING= Van: Nikita Gupta [mailto:nikitar...@gmail.com] Verzonden: vrijdag 19 mei 2017 12:04 Aan: Thijs Stuurman CC:

Re: [Openvas-discuss] Problem with OpenVAS source code installation

2017-05-19 Thread Nikita Gupta
Hi Thijs, Thanks for answering the question. There is only one file build/CMakeCache.txt where I could define it. Though the variable "CXXFLAGS" is not defined anywhere. I defined the variable and tried building again with make command, but again the same error. No result. I think the

Re: [Openvas-discuss] Problem with OpenVAS source code installation

2017-05-19 Thread Thijs Stuurman
I have not seen this error on Ubuntu 16.04, try adding the –fPIC to the build process. Find a cmake kind of file in your build directory, something like: CMAKE_CXX_FLAGS:STRING and add the option. Thijs Stuurman Security Operations Center | KPN Internedservices

[Openvas-discuss] Problem with OpenVAS source code installation

2017-05-19 Thread Nikita Gupta
Hi All, I was trying to install the OpenVAS by downloading the souce code from http://www.openvas.org/install-source.html But While installing the libraries source package, it stops at make configuration step by giving error: /usr/bin/ld: /usr/local/lib/libgnutls.a(record.o): relocation

Re: [Openvas-discuss] SCAP / CERT Databases missing

2017-05-19 Thread Thijs Stuurman
Panos, Nope! I recently went from 8 to 9 and also had issues with the SCAP and CERT database errors. Turned out the scripts wanted to change my database but had no rights to make the changes .. I eventually fixed that and got rid of the errors but I do not see any data. To be honest I gave up

Re: [Openvas-discuss] unable to locale package openvas9

2017-05-19 Thread Christian Fischer
Hi, On 16.05.2017 23:37, Rodolfo Peña wrote: > During installation of OpenVAS on Ubuntu, everything seemed to be going fine > until I did “sudo apt-get install openvas9”. I got a “Unable to locate > package openvas9” error. I tried with “openvas” but had the same error. Where > is the package?

[Openvas-discuss] SCAP / CERT Databases missing

2017-05-19 Thread Παναγιώτης Λεόντιος
Dear All, I have latest versions of kali (4.9.0) and OpenVas (9.0) on a USB stick with persistence. Everything is setup and running, EXCEPT the fact that I get a warning in GSA that SCAP or CERT databases are empty. Followed the instructions for the corresponding feed syncs, but no change

[Openvas-discuss] unable to locale package openvas9

2017-05-19 Thread Rodolfo Peña
HI, During installation of OpenVAS on Ubuntu, everything seemed to be going fine until I did “sudo apt-get install openvas9”. I got a “Unable to locate package openvas9” error. I tried with “openvas” but had the same error. Where is the package? www.openvas.org proudly announced the release of