codingo / VHostScan

A virtual host scanner that performs reverse lookups, can be used with pivot tools, detect catch-all scenarios, work around wildcards, aliases and dynamic default pages.
GNU General Public License v3.0
1.19k stars 231 forks source link

A typo in one of the imports keeps the tool from running #107

Closed ewilded closed 5 years ago

ewilded commented 5 years ago

An attempt to run the tool after installation fails:

$ VHostScan

Traceback (most recent call last):
  File "/usr/local/bin/VHostScan", line 11, in <module>
    load_entry_point('VHostScan==1.21', 'console_scripts', 'VHostScan')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 484, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2707, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2325, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2331, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/dist-packages/VHostScan-1.21-py2.7.egg/VHostScan/VHostScan.py", line 8, in <module>
    from .lib.core.virtual_host_soutput_helpercanner import virtual_host_scanner
ImportError: No module named virtual_host_soutput_helpercanner

Reason: VHostScan.py, line 8:

from .lib.core.virtual_host_soutput_helpercanner import virtual_host_scanner

Do you have an idea for a solution?

Seems like the "output_helper" string crept into the class name. Replacing the line with from .lib.core.virtual_host_scanner import virtual_host_scanner fixes the problem.

codingo commented 5 years ago

Closed with #108