diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index 96acc2a7..9489d339 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -1,13 +1,13 @@ #!/usr/bin/env python3 -from theHarvester.discovery import * -from theHarvester.discovery.constants import * -from theHarvester.lib import hostchecker -from theHarvester.lib import htmlExport -from theHarvester.lib import reportgraph -from theHarvester.lib import stash -from theHarvester.lib import statichtmlgenerator -from theHarvester.lib.core import * +from .discovery import * +from .discovery.constants import * +from .lib import hostchecker +from .lib import htmlExport +from .lib import reportgraph +from .lib import stash +from .lib import statichtmlgenerator +from .lib.core import * from platform import python_version import argparse import datetime diff --git a/theHarvester/discovery/DNS/Base.py b/theHarvester/discovery/DNS/Base.py index 2aa763e9..1c93d5a3 100644 --- a/theHarvester/discovery/DNS/Base.py +++ b/theHarvester/discovery/DNS/Base.py @@ -12,7 +12,7 @@ This code is covered by the standard Python License. import socket import time -from theHarvester.discovery.DNS import Type, Class, Opcode +from . import Type, Class, Opcode import asyncore class DNSError(Exception):