GithubHelp home page GithubHelp logo

Comments (14)

MarioVilas avatar MarioVilas commented on September 24, 2024

That's the error thrown by the XML parser when no content is found (ie the
port is closed). I'm guessing the IP or port are wrong, or the OpenVAS
version is one we don't support.

El domingo, 24 de agosto de 2014, thezakman [email protected]
escribió:

/----------------------------------------------
| GoLismero 2.0.0b3 - The Web Knife |
| Contact: [email protected] |
| |
| Daniel Garcia Garcia a.k.a cr0hn (@ggdaniel) |
| Mario Vilas (@Mario_Vilas) |
----------------------------------------------/

GoLismero started at 2014-08-24 07:16:59.333888 UTC
[

] GoLismero: Audit name: golismero-INIANSfJ [!] OpenVAS: Plugin disabled,
reason: no element found: line 1, column 0 [
] GoLismero: Added 3 new
targets to the database.

By default using the "golismero info openvas" it says that uses the port
port -> 9390

but mine openvas is on port -> 9392, so in my user.config i change it to
this:

[openvas]
host = 127.0.0.1
user = admin
*password = mypassword
port=9392

But when i run it got the error below:

OpenVAS: Plugin disabled, reason: no element found: line 1, column 0


Reply to this email directly or view it on GitHub
#8.

“There's a reason we separate military and the police: one fights the enemy
of the state, the other serves and protects the people. When the military
becomes both, then the enemies of the state tend to become the people.”

from golismero.

thezakman avatar thezakman commented on September 24, 2024

Weird, my Openvas is running with no problems in the localhost:9392

I'm using the last version of Kali Linux with the Openvas Version 4.0.0

Still got the errors:
GoLismero started at 2014-08-25 22:57:29.509093 UTC
[] GoLismero: Audit name: golismero-k7Zj4FcS
[!] OpenVAS: Plugin disabled, reason: no element found: line 1, column 0
.....
[!] IP Geolocator: Error: init() got an unexpected keyword argument 'area_code'
.....
[
] SpiderFoot (2): Status: ERROR-FAILED (0 elements)
[!] SpiderFoot (2): Scan didn't finish correctly, aborting!
[*] SpiderFoot: Status: ERROR-FAILED (0 elements)
[!] SpiderFoot: Scan didn't finish correctly, aborting!

What should i try to fix this?

And one last issue when i'm trying to export a report, with both options suggested in the github:
golismero scan myhost -o - -o report.html
golismero scan myhost -o report.txt

I've got not file in after the scan is complete, they are exported into a especific folder? or the one i'm running the script?

Thanks for the help and the quick reply, you and you're team developed an amazing tool!!

from golismero.

MarioVilas avatar MarioVilas commented on September 24, 2024

This is very strange, we've never had this happen before :( can you attach
your log file, maybe the answer to this mystery is there?

El martes, 26 de agosto de 2014, thezakman [email protected]
escribió:

Weird, my Openvas is running with no problems in the localhost:9392

I'm using the last version of Kali Linux with the Openvas Version 4.0.0

Still got the errors:
GoLismero started at 2014-08-25 22:57:29.509093 UTC
[] GoLismero: Audit name: golismero-k7Zj4FcS
[!] OpenVAS: Plugin disabled, reason: no element found: line 1, column 0
.....
[!] IP Geolocator: Error: *init
() got an unexpected keyword argument
'area_code'

What should i try to fix this?

And one last issue when i'm trying to export a report, with both options
suggested in the github:
golismero scan myhost -o - -o report.html
golismero scan myhost -o report.txt

I've got not file in after the scan is complete, they are exported into a
especific folder? or the one i'm running the script?

Thanks for the help and the quick reply, you and you're team developed an
amazing tool!!


Reply to this email directly or view it on GitHub
#8 (comment).

“There's a reason we separate military and the police: one fights the enemy
of the state, the other serves and protects the people. When the military
becomes both, then the enemies of the state tend to become the people.”

from golismero.

thezakman avatar thezakman commented on September 24, 2024

Sure, where do I find golismero log?

I changed golismero.conf to full verbose to see what was the error with OpenVas:

GoLismero started at 2014-08-26 20:02:30.647355 UTC
[*] GoLismero: Audit name: golismero-LWOFJyeC
[!] OpenVAS: Plugin disabled, reason: no element found: line 1, column 0
[!] OpenVAS: Traceback (most recent call last):
File "/usr/share/golismero/golismero/managers/pluginmanager.py", line 1536, in check_plugin_params
plugin.check_params()
File "/usr/share/golismero/plugins/testing/scan/openvas.py", line 118, in check_params
VulnscanManager(m_host, m_user, m_password, m_port, m_timeout)
File "/usr/share/golismero/thirdparty_libs/openvas_lib/__init
.py", line 283, in init
self.manager = _get_connector(host, user, password, port, m_time_out)
File "/usr/share/golismero/thirdparty_libs/openvas_lib/__init
.py", line 715, in _get_connector
manager = _ConnectionManager(host, username, password, port, timeout)
File "/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line 782, in init
self._connect()
File "/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line 817, in _connect
self._authenticate(self.__username, self.__password)
File "/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line 845, in _authenticate
self.make_xml_request(m_request)
File "/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line 964, in make_xml_request
response = self._send(xmldata)
File "/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line 921, in _send
tree = etree.fromstring(data)
File "", line 125, in XML
ParseError: no element found: line 1, column 0

[_] SpiderFoot: Status: STARTING (0 elements so far)
[!] IP Geolocator: Error: init() got an unexpected keyword argument 'area_code'
Traceback (most recent call last):
File "/usr/share/golismero/golismero/managers/processmanager.py", line 196, in _bootstrap
_bootstrap_inner(context, func, args, kwargs)
File "/usr/share/golismero/golismero/managers/processmanager.py", line 347, in _bootstrap_inner
result = getattr(instance, func)(_args, **kwargs)
File "/usr/share/golismero/plugins/testing/recon/geoip.py", line 167, in recv_info
geoip = Geolocation(**kwargs)
TypeError: init() got an unexpected keyword argument 'area_code'

[*] IP Geolocator: Finished.
[!] Shodan: Error: /usr/share/golismero/golismero/api/data/init.py:1885: MissingReferencedResultsWarning: Data created and referenced by plugin, but not returned by recv_info():

warn(msg, MissingReferencedResultsWarning)

[] DNS Resolver: 33.33% percent done...
[
] DNS Resolver (2): 33.33% percent done...
[!] Shodan: Error: Expected string, got <type 'int'> instead
Traceback (most recent call last):
File "/usr/share/golismero/golismero/managers/processmanager.py", line 196, in _bootstrap
_bootstrap_inner(context, func, args, kwargs)
File "/usr/share/golismero/golismero/managers/processmanager.py", line 347, in _bootstrap_inner
result = getattr(instance, func)(_args, *_kwargs)
File "/usr/share/golismero/plugins/testing/recon/shodan.py", line 184, in recv_info
areacode = area_code,
File "/usr/share/golismero/golismero/api/data/information/geolocation.py", line 145, in init
"Expected string, got %r instead" % type(metro_code))
TypeError: Expected string, got <type 'int'> instead

[] GoLismero: Added 2 new targets to the database.
[
] GoLismero: Audit scope:

IP addresses:
192.168.0.1

from golismero.

MarioVilas avatar MarioVilas commented on September 24, 2024

That'll probably be enough! I'll add cr0hn in copy since he's the one who
wrote the OpenVAS support plugin. :)
Oh, and thanks for the bug report!

Cheers,
-Mario

On Tue, Aug 26, 2014 at 10:04 PM, thezakman [email protected]
wrote:

Sure, where do I find golismero log?

I changed golismero.conf to full verbose to see what was the error with
OpenVas:

GoLismero started at 2014-08-26 20:02:30.647355 UTC
[*] GoLismero: Audit name: golismero-LWOFJyeC

[!] OpenVAS: Plugin disabled, reason: no element found: line 1, column 0
[!] OpenVAS: Traceback (most recent call last):
File "/usr/share/golismero/golismero/managers/pluginmanager.py", line
1536, in

_check_plugin_params plugin.check_params() File
"/usr/share/golismero/plugins/testing/scan/openvas.py", line 118, in
check_params VulnscanManager(m_host, m_user, m_password, m_port, m_timeout)
File "/usr/share/golismero/thirdparty_libs/openvas_lib/_init.py", line
283, in init
self.
_manager = _get_connector(host, user, password, port, m_time_out) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/_init.py", line 715,
in

_get_connector manager = ConnectionManager(host, username, password, port,
timeout) File "/usr/share/golismero/thirdparty_libs/openvas_lib/_init.py",
line 782, in init
self.
_connect() File "/usr/share/golismero/thirdparty_libs/openvas_lib/init.py",
line 817, in

_connect self.authenticate(self.__username, self.__password) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/_init.py", line 845,
in

_authenticate self.make_xml_request(m_request) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line 964,
in make_xml_request
response = self.
_send(xmldata) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line 921,
in _send
tree = etree.fromstring(data)
File "", line 125, in XML
ParseError: no element found: line 1, column 0

[
] GoLismero: Added 2 new targets to the database. [] GoLismero: Audit
scope:

IP addresses:
192.168.0.1


Reply to this email directly or view it on GitHub
#8 (comment).

“There's a reason we separate military and the police: one fights the enemy
of the state, the other serves and protects the people. When the military
becomes both, then the enemies of the state tend to become the people.”

from golismero.

cr0hn avatar cr0hn commented on September 24, 2024

Hi!

Currently I'm working on improve the OpenVas plugin. I hope that, in few
days, this and other bugs will be fixed.

Cheers and thx!

2014-08-27 16:28 GMT+02:00 Mario Vilas [email protected]:

That'll probably be enough! I'll add cr0hn in copy since he's the one who
wrote the OpenVAS support plugin. :)
Oh, and thanks for the bug report!

Cheers,
-Mario

On Tue, Aug 26, 2014 at 10:04 PM, thezakman [email protected]
wrote:

Sure, where do I find golismero log?

I changed golismero.conf to full verbose to see what was the error with
OpenVas:

GoLismero started at 2014-08-26 20:02:30.647355 UTC
[*] GoLismero: Audit name: golismero-LWOFJyeC

[!] OpenVAS: Plugin disabled, reason: no element found: line 1, column 0
[!] OpenVAS: Traceback (most recent call last):
File "/usr/share/golismero/golismero/managers/pluginmanager.py", line
1536, in

_check_plugin_params plugin.check_params() File
"/usr/share/golismero/plugins/testing/scan/openvas.py", line 118, in
check_params VulnscanManager(m_host, m_user, m_password, m_port,
m_timeout)
File "/usr/share/golismero/thirdparty_libs/openvas_lib/_init.py", line
283, in init
self.
_manager = _get_connector(host, user, password, port, m_time_out) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/_init.py", line 715,
in

_get_connector manager = ConnectionManager(host, username, password,
port,
timeout) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/_init.py",
line 782, in init
self.
_connect() File
"/usr/share/golismero/thirdparty_libs/openvas_lib/init.py",
line 817, in

_connect self.authenticate(self.__username, self.__password) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/_init.py", line 845,
in

_authenticate self.make_xml_request(m_request) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line
964,
in make_xml_request
response = self.
_send(xmldata) File
"/usr/share/golismero/thirdparty_libs/openvas_lib/init.py", line
921,
in _send
tree = etree.fromstring(data)
File "", line 125, in XML
ParseError: no element found: line 1, column 0

[
] GoLismero: Added 2 new targets to the database. [] GoLismero: Audit
scope:

IP addresses:
192.168.0.1


Reply to this email directly or view it on GitHub
#8 (comment).

“There's a reason we separate military and the police: one fights the
enemy
of the state, the other serves and protects the people. When the military
becomes both, then the enemies of the state tend to become the people.”

Reply to this email directly or view it on GitHub
#8 (comment).

from golismero.

arall avatar arall commented on September 24, 2024

Any tips on this?
I'm getting the same error and exactly the same log.

from golismero.

thezakman avatar thezakman commented on September 24, 2024

Yeah, still waiting for a fix too :/

from golismero.

thezakman avatar thezakman commented on September 24, 2024

It has been one year now.

from golismero.

cr0hn avatar cr0hn commented on September 24, 2024

What version os OpenVas are you running? Currently, only OpenVas 6 is supported. I don't know if new Kali is coming with OpenVas 7. It thus, Plugin is currently not compatible.

from golismero.

arall avatar arall commented on September 24, 2024

I'm using OpenVas 6, of course.

from golismero.

dukeminus avatar dukeminus commented on September 24, 2024

Hi,
I am getting the following:

[!] OpenVAS: Plugin disabled, reason: Error while connecting to the server: [Errno -2] Name or service not known

from golismero.

An0nK3k avatar An0nK3k commented on September 24, 2024

Hello.

Any idea yet on this?
OpenVAS: Plugin disabled, reason: no element found: line 1, column 0

from golismero.

x7peeps avatar x7peeps commented on September 24, 2024

Hi @cr0hn ,
Is there anynew development for Openvas 9, or any plan for it?
Openvas 9 ,plugin disabled error , too. I will wait for anynew update. Goodjob & THX.

from golismero.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.