Results 1 to 2 of 2

Thread: Taking screenshots with theHarvester -- "no module named 'theHarvester.screenshot'"

  1. #1

    Taking screenshots with theHarvester -- "no module named 'theHarvester.screenshot'"

    Digging into using theHarvester for OSINT data gathering. Been using theHarvester for a while but wanted to experiment with using it to grab screenshots using the '--screenshot' option. Problem is it doesn't appear to have that module installed. I get a "No module named 'theHarvester.screenshot'" error when using this switch. I'm using the latest Kali build on WSL.

    I've googled this and searched this forum until I'm blue in the face and can't find any reference to fixing it anywhere. There are no references to it on theHarvester GitHub. I presume it needs a Python module that isn't installed but I have no idea how to resolve. Any guidance would be appreciated.

    I'm using the folllowing command string:

    theHarvester -d mydomain.com --screenshot ./mydomain.com -b all

    error output is:

    No module named 'theHarvester.screenshot'

    theHarvester version - 4.2.0
    Python version - 3.11.2
    pip3 version - 23.0.1

    pip3 module list
    Package Version
    ------------------ ---------
    aiodns 3.0.0
    aiofiles 22.1.0
    aiohttp 3.8.3
    aiomultiprocess 0.9.0
    aiosignal 1.3.1
    aiosqlite 0.17.0
    anyio 3.6.2
    appdirs 1.4.4
    asgiref 3.6.0
    async-timeout 4.0.2
    attrs 22.2.0
    Babel 2.10.3
    backoff 2.2.1
    beautifulsoup4 4.11.1
    censys 2.1.8
    certifi 2022.9.24
    chardet 5.1.0
    charset-normalizer 3.0.1
    click 8.1.3
    click-plugins 1.1.1
    colorama 0.4.6
    commonmark 0.9.1
    cryptography 38.0.4
    Deprecated 1.2.13
    dnspython 2.2.1
    fastapi 0.89.1
    frozenlist 1.3.3
    h11 0.14.0
    html5lib 1.1
    idna 3.3
    importlib-metadata 4.12.0
    itsdangerous 2.1.2
    Jinja2 3.0.3
    limits 2.8.0
    lxml 4.9.2
    MarkupSafe 2.1.2
    more-itertools 8.10.0
    multidict 6.0.4
    netaddr 0.8.0
    packaging 23.0
    pip 23.0.1
    pycares 4.1.2
    pydantic 1.10.4
    pyee 9.0.4
    Pygments 2.13.0
    pyparsing 3.0.9
    pyppeteer 1.0.1
    pytz 2022.7
    PyYAML 6.0
    redis 4.3.4
    requests 2.28.1
    requests-toolbelt 0.10.1
    retrying 1.3.3
    rich 13.0.0
    setuptools 66.1.1
    shodan 1.28.0
    simplejson 3.18.1
    six 1.16.0
    slowapi 0.1.4
    sniffio 1.2.0
    soupsieve 2.3.2
    starlette 0.23.1
    texttable 1.6.7
    theHarvester 4.2.0
    tqdm 4.64.1
    typing_extensions 4.3.0
    ujson 5.6.0
    urllib3 1.26.12
    uvicorn 0.17.6
    uvloop 0.17.0
    webencodings 0.5.1
    websockets 10.4
    wheel 0.38.4
    wrapt 1.14.1
    wsproto 1.2.0
    XlsxWriter 3.0.2
    yarl 1.8.2
    zipp 1.0.0


    Thank you!

  2. #2
    Join Date
    2023-May
    Posts
    1
    I ran into this as well using the 4.2.0 pip package. The screenshot dir and module was missing, so I added it in using the module from github and it worked perfectly:

    Code:
    $ ls -ltrha /usr/lib/python3/dist-packages/theHarvester/screenshot/
    total 16K
    
    -rw-r--r-- 1 root root 4.2K May  5 08:59 screenshot.py
    https://github.com/laramies/theHarve...ter/screenshot

Similar Threads

  1. BDFPROXY "No module named libmproxy" problem
    By Parnoid in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2023-03-29, 22:23
  2. Kernel Update Question - DKMS aufs module Error "should not be built"
    By Apok4LiTikal in forum TroubleShooting Archive
    Replies: 7
    Last Post: 2020-04-27, 15:11
  3. Failed to load module "canberra-gtk-module"
    By kal in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-12-08, 13:28
  4. Replies: 4
    Last Post: 2013-05-27, 08:51

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
  •