Package Details: theharvester-git 3.2.3.r18.ga6959ad-1

Git Clone URL: (read-only, click to copy)
Package Base: theharvester-git
Description: An OSINT tool for gathering emails, names, subdomains, IPs and URLs related to a target using public sources.
Upstream URL:
Licenses: GPL2
Conflicts: theharvester-git
Provides: theharvester-git
Submitter: gehaxelt
Maintainer: dkasak
Last Packager: dkasak
Votes: 15
Popularity: 0.000000
First Submitted: 2015-10-17 15:04 (UTC)
Last Updated: 2021-02-22 11:51 (UTC)

Latest Comments

dkasak commented on 2021-02-22 11:52 (UTC)

@aminvakil, the package has now been updated and the problems I pointed our earlier should be fixed. I tested that it works for me.

If you find other problems, please give me a ping.

dkasak commented on 2021-02-12 22:55 (UTC)

@aminvakil, yes, thanks for reminding me.

I ended up submitting a request to merge and orphan the packages, but there was a problem with one of the dependencies that prevented me from making the changes. I decided to wait a bit, but then it slipped from my mind.

I'll try to get to it over the weekend.

aminvakil commented on 2021-02-12 21:07 (UTC)

@dkasak, You are absolutely right, are you willing to fix it then?

dkasak commented on 2020-10-09 07:22 (UTC)

Judging by theHarvester's requirements.txt (, the following dependencies seem to be superfluous:

python-censys python-decorator python-grequests python-multiprocess python-pyaml python-pycares python-pytest

Note that python-pyaml (pyaml on PyPI) is incorrect and the actual dependency should be python-yaml (PyYAML on PyPI). It's hard to notice because the packages are confusingly named.

Also, any idea why python-theharvester-git also exists? I asked there but there's no response so far.

dkasak commented on 2020-09-12 15:27 (UTC)

The following patch makes this package build for me and it appears to work (I tested several sources):

As mentioned in the commit message, this fixes the dependency list to match upstream's requirements.txt, moves the api-keys.yaml location to /etc/theHarvester and lists all APIs that require keys in the post-install message.

dkasak commented on 2020-09-12 12:34 (UTC) (edited on 2020-09-12 13:56 (UTC) by dkasak)

What is the difference between this package and theharvester-git?

Also, this package is missing at least python-aiohttp as a dependency.

khalil2535 commented on 2020-09-09 13:15 (UTC)

got this error

 -> Could not find all required packages:
        python2-netaddr (Wanted by: theharvester-git -> python-censys)

ocelot commented on 2020-08-11 04:44 (UTC)

I have gone through the requirements.txt of the project and added new dependencies. This project's dependencies seem to change often, so sometimes it's hard to keep up.

Thank you for your comments.

rcrath commented on 2020-06-04 10:33 (UTC)

install attempt yields "==> Error: Could not find all required packages: python2-netaddr (Wanted by: theharvester-git -> python-censys) "

ocelot commented on 2020-02-13 03:10 (UTC)

Added as dependency

ocelot commented on 2019-11-19 04:57 (UTC)

I must have missed that package as I already have it installed for something else. I have added it as a dependency :)

aurmyster commented on 2019-11-15 22:03 (UTC)

I needed to install python-dnspython in order for this package to build.

aurmyster commented on 2019-11-15 22:03 (UTC)

I needed to install python-dnspython in order for this package to build.

ocelot commented on 2019-10-02 00:58 (UTC)

Dependency added.

dkasak commented on 2019-09-29 11:06 (UTC)

python-aiodns is also a dependency now.

ocelot commented on 2019-09-23 07:03 (UTC)

Dependencies have been added. Sorry for the delay.

chilledfrogs commented on 2019-09-05 18:32 (UTC) (edited on 2019-09-05 18:33 (UTC) by chilledfrogs)

It seems that python-gevent and python-grequests are required dependencies, missing one fails the check, and the other causes a runtime error for me...

ocelot commented on 2019-03-10 04:25 (UTC) (edited on 2019-03-10 14:57 (UTC) by ocelot)

EDIT: I have made the python-censys module, so it is working fine now.

The upstream developers have added the Python Censys module as a dependency. Unfortunately, there is no Archlinux or AUR package for this yet. I have added this note to the post-install message.

If you wish to use Censys functionality, please use 'easy_install censys' for now.

ocelot commented on 2019-02-11 06:18 (UTC)

Everything seems to be working - they updated plotly on the AUR.

ocelot commented on 2019-02-05 04:08 (UTC) (edited on 2019-02-05 04:10 (UTC) by ocelot)

What exactly is broken? I noticed that theHarvester requires plotly 3.5.0+, whereas that package is only 3.3.0. It looks like it is poorly maintained.

In the meantime, I'd recommend just using "easyinstall" to add python-plotly manually, and add python-plotly to your IgnorePkg.

dkasak commented on 2019-02-04 08:14 (UTC)

This is now broken because the python-plotly package is broken (due to conflicts between the py2 and py3 versions of that package).

ocelot commented on 2019-01-29 01:05 (UTC)

This package was broken for a small period due to addition of python-decorator upstream. Fixed now.

ocelot commented on 2019-01-24 13:44 (UTC) (edited on 2019-01-24 13:44 (UTC) by ocelot)

fixed :)

GI_Jack commented on 2019-01-18 21:24 (UTC) (edited on 2019-01-18 21:24 (UTC) by GI_Jack)

ModuleNotFoundError: No module named 'bs4'

add: python-beautifulsoup4 as dep

ocelot commented on 2019-01-13 10:04 (UTC)

Alright it's all updated and working! :)

ocelot commented on 2019-01-10 15:38 (UTC)

This package and its PKGBUILD are in dire need of an update. I have a working and up-to-date PKGBUILD and am requesting that I become the maintainer.

m3thodic commented on 2018-11-13 16:16 (UTC)

Replacing this package() function in the PKGBUILD will fix the issue:

package() {
    mkdir -p "$pkgdir/opt/$pkgname/"
    mkdir -p "$pkgdir/usr/bin"

    cp -r "$srcdir/$pkgname/discovery" "$pkgdir/opt/$pkgname/"
    cp -r "$srcdir/$pkgname/lib" "$pkgdir/opt/$pkgname/"
    install "$srcdir/$pkgname/" "$pkgdir/opt/$pkgname/"
    install "$srcdir/$pkgname/" "$pkgdir/opt/$pkgname/"
    install "$srcdir/$pkgname/" "$pkgdir/opt/$pkgname/"
    install "$srcdir/$pkgname/" "$pkgdir/opt/$pkgname/"

    ln -s "/opt/$pkgname/" "$pkgdir/usr/bin/theharvester"

ocelot commented on 2018-04-25 23:50 (UTC)

Package is broken as per below comment - clone manually from Github for now:

slevin commented on 2018-04-13 18:30 (UTC) (edited on 2018-04-13 18:31 (UTC) by slevin)

Hi. I'm getting the following error after installing with yaourt:

Traceback (most recent call last):
  File "/opt/theharvester-git/", line 10, in <module>
    import stash
ImportError: No module named stash

Seems like weren't installed correctly, as it's not in the directory:

$ ls -l /opt/theharvester-git/
drwxr-xr-x 4 root root 4.0K Apr 13 20:23 discovery/
drwxr-xr-x 2 root root 4.0K Apr 13 20:23 lib/
-rwxr-xr-x 1 root root 5.9K Apr 13 20:23*
-rwxr-xr-x 1 root root  124 Apr 13 20:23*
-rwxr-xr-x 1 root root  21K Apr 13 20:23*

After copying it over from the Github repo manually, it works fine.