diff options
| author | Ruben Fonseca | 2013-12-30 19:39:34 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-30 22:26:37 +0000 |
| commit | 2672f0c8c9107aecfe1b4ddc01c402cc24f85b59 (patch) | |
| tree | 6d5572d63239569be4b08a2bc548e9c49d8e0b48 /Library/Formula | |
| parent | 65cc2e1828a2a6f0da0014359b60596a5429bd17 (diff) | |
| download | homebrew-2672f0c8c9107aecfe1b4ddc01c402cc24f85b59.tar.bz2 | |
theharvester 2.2a
Closes #25559.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/theharvester.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/theharvester.rb b/Library/Formula/theharvester.rb new file mode 100644 index 000000000..348675100 --- /dev/null +++ b/Library/Formula/theharvester.rb @@ -0,0 +1,20 @@ +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 |
