diff options
| author | Nick Zadrozny | 2010-03-19 15:06:23 -0700 |
|---|---|---|
| committer | David Höppner | 2010-03-25 20:01:50 +0100 |
| commit | 2a06091e6b78fb2936b4c4dd8030c935c4972fcc (patch) | |
| tree | 1c63d94c0770558e3418b5d4b8f3d779c54e87a8 /Library/Formula/skipfish.rb | |
| parent | 01a1d02385e22a2686a890f4a0652d49f23c3559 (diff) | |
| download | homebrew-2a06091e6b78fb2936b4c4dd8030c935c4972fcc.tar.bz2 | |
Added formula for Google Skipfish.
A fully automated, active web application security reconnaissance tool.
Signed-off-by: David Höppner <0xffea@gmail.com>
* remove white spaces and link into cellar
Diffstat (limited to 'Library/Formula/skipfish.rb')
| -rw-r--r-- | Library/Formula/skipfish.rb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Library/Formula/skipfish.rb b/Library/Formula/skipfish.rb new file mode 100644 index 000000000..316f0731d --- /dev/null +++ b/Library/Formula/skipfish.rb @@ -0,0 +1,35 @@ +require 'formula' + +class Skipfish <Formula + url 'http://skipfish.googlecode.com/files/skipfish-1.25b.tgz' + homepage 'http://code.google.com/p/skipfish/' + md5 '6563633524e58592081b169fdbb28d47' + + depends_on 'libidn' + + def install + ENV.append "CFLAGS", "-I#{HOMEBREW_PREFIX}/include" + ENV.append "LDFLAGS", "-L#{HOMEBREW_PREFIX}/lib" + inreplace "config.h", + "#define ASSETS_DIR \"assets\"", + "#define ASSETS_DIR \"#{prefix}/share/skipfish/assets\"" + system "make" + bin.install "skipfish" + (share+"skipfish/dictionaries").install Dir["dictionaries/*"] + (share+"skipfish/assets").install Dir["assets/*"] + end + + def caveats; <<-EOS.undent + + NOTE: Skipfish uses dictionary-based probes and will not run until you + have selected and made a copy of a dictionary for it to use. + + Please read consult dictionaries/README-FIRST carefully to make the right + choice. This step has a profound impact on the quality of scan results + later on. + + #{HOMEBREW_PREFIX}/lib/skipfish/dictionaries/README-FIRST + + EOS + end +end |
