b0bd0b1695
Closes Homebrew/homebrew#25559. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
20 lines
553 B
Ruby
20 lines
553 B
Ruby
require 'formula'
|
|
|
|
class Theharvester < Formula
|
|
homepage 'https://code.google.com/p/theharvester/'
|
|
url 'https://theharvester.googlecode.com/files/theHarvester-2.2a.tar.gz'
|
|
sha1 'e02661ed6dd8d9d48d476ccee99878e15f67842a'
|
|
|
|
depends_on :python
|
|
|
|
def install
|
|
libexec.install Dir['*']
|
|
(libexec/'theHarvester.py').chmod 0755
|
|
bin.install_symlink libexec/'theHarvester.py' => 'theharvester'
|
|
end
|
|
|
|
test do
|
|
output = `#{bin}/theharvester -d example.com -l 1 -b google 2>&1`.strip
|
|
assert_match /nobody@example\.com/, output
|
|
end
|
|
end
|