Results 1 to 2 of 2

Thread: Troubleshooting running theHarvester first time

  1. #1
    Join Date
    2018-Oct
    Posts
    1

    Troubleshooting running theHarvester first time

    Hi all ,
    kali
    release 2021.4

    I tried to run theHarvester for the first time by typing "theHarvester"

    got message:

    raceback (most recent call last):
    File "/usr/bin/theHarvester", line 6, in <module>
    from theHarvester import __main__
    File "/usr/lib/python3/dist-packages/theHarvester/__main__.py", line 4, in <module>
    from theHarvester.discovery import dnssearch, takeover, shodansearch
    File "/usr/lib/python3/dist-packages/theHarvester/discovery/takeover.py", line 1, in <module>
    from theHarvester.lib.core import *
    File "/usr/lib/python3/dist-packages/theHarvester/lib/core.py", line 6, in <module>
    import aiohttp
    File "/usr/lib/python3/dist-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import (
    File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in <module>
    from . import hdrs, http, payload
    File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in <module>
    from .http_parser import (
    File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in <module>
    from .helpers import NO_EXTENSIONS, BaseTimerContext
    File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in <module>
    class CeilTimeout(async_timeout.timeout):
    TypeError: function() argument 'code' must be code, not str

  2. #2
    Join Date
    2022-Jan
    Posts
    2
    I just had the same issue of theHarvester this morning, even when I run it in the root with sudo

    Traceback (most recent call last):
    File "/usr/bin/theHarvester", line 6, in <module>
    from theHarvester import __main__
    File "/usr/lib/python3/dist-packages/theHarvester/__main__.py", line 4, in <module>
    from theHarvester.discovery import dnssearch, takeover, shodansearch
    File "/usr/lib/python3/dist-packages/theHarvester/discovery/takeover.py", line 1, in <module>
    from theHarvester.lib.core import *
    File "/usr/lib/python3/dist-packages/theHarvester/lib/core.py", line 6, in <module>
    import aiohttp
    File "/usr/lib/python3/dist-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import (
    File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in <module>
    from . import hdrs, http, payload
    File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in <module>
    from .http_parser import (
    File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in <module>
    from .helpers import NO_EXTENSIONS, BaseTimerContext
    File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in <module>
    class CeilTimeout(async_timeout.timeout):
    TypeError: function() argument 'code' must be code, not str

    QUESTION: Will Kali Linux be able to fix this issue pls?

    Thanks in advance!

Similar Threads

  1. Replies: 1
    Last Post: 2023-05-05, 13:16
  2. Replies: 0
    Last Post: 2022-11-13, 19:22
  3. second time posting because for some reason the first time didn't even post.
    By randomthrowaway in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2022-08-05, 02:37

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •