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

ValueError: Attempted relative import in non-package #86

Closed infosecsecurity closed 6 years ago

infosecsecurity commented 6 years ago

Getting this error when trying to run VHostScan

screenshot from 2018-03-20 19-13-03

infosecsecurity commented 6 years ago

I already ran the python setup.py install but it didn't help

codingo commented 6 years ago

Since you've run setup.py you should be able to run it directly. Instead of:

$ python VHostScan.py <params>

It should work with just:

VHostscan <params>

The method you're using bypasses the package setup. Could you please try this and reopen this issue if you have any remaining issues?