Package Details: theharvester-git r56.eb08d32-1

Git Clone URL: https://aur.archlinux.org/theharvester-git.git (read-only)
Package Base: theharvester-git
Description: A tool for gathering e-mail accounts, subdomain names, virtual hosts, open ports/ banners, and employee names from different public sources (search engines, pgp key servers).
Upstream URL: https://github.com/laramies/theHarvester
Licenses: GPL2
Conflicts: theharvester-git
Provides: theharvester-git
Submitter: gehaxelt
Maintainer: gehaxelt
Last Packager: gehaxelt
Votes: 12
Popularity: 0.472603
First Submitted: 2015-10-17 15:04
Last Updated: 2017-07-18 21:16

Latest Comments

m3thodic commented on 2018-11-13 16:16

Replacing this package() function in the PKGBUILD will fix the stash.py 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/myparser.py" "$pkgdir/opt/$pkgname/"
    install "$srcdir/$pkgname/stash.py" "$pkgdir/opt/$pkgname/"
    install "$srcdir/$pkgname/theHarvester.py" "$pkgdir/opt/$pkgname/"
    install "$srcdir/$pkgname/run.sh" "$pkgdir/opt/$pkgname/"

    ln -s "/opt/$pkgname/run.sh" "$pkgdir/usr/bin/theharvester"
}

ocelot commented on 2018-04-25 23:50

Package is broken as per below comment - clone manually from Github for now: https://github.com/laramies/theHarvester

slevin commented on 2018-04-13 18:30

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

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

Seems like stash.py 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 myparser.py*
-rwxr-xr-x 1 root root  124 Apr 13 20:23 run.sh*
-rwxr-xr-x 1 root root  21K Apr 13 20:23 theHarvester.py*

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