430e532072
sshtrix is a very fast multithreaded SSH login cracker. It supports SSHv1 and SSHv2. sshtrix was designed to automate rapid bruteforce attacks against SSH authentication screens. Unlike other public tools, the aim is to keep it simple, stable, fast and modular. With its clean code design, it is easy to extend the code to a framework or to fork it against protocols of your choice. Closes Homebrew/homebrew#18846. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
20 lines
467 B
Ruby
20 lines
467 B
Ruby
require 'formula'
|
|
|
|
class Sshtrix < Formula
|
|
homepage 'http://www.nullsecurity.net/tools/cracker.html'
|
|
url 'http://www.nullsecurity.net/tools/cracker/sshtrix-0.0.2.tar.gz'
|
|
sha1 '6ac43099d5c399459ae705bafc9d12fec9e6ac4a'
|
|
|
|
depends_on 'libssh'
|
|
|
|
def install
|
|
bin.mkpath
|
|
system "make", "sshtrix", "CC=#{ENV.cc}"
|
|
system "make", "DISTDIR=#{prefix}", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/sshtrix", "-V"
|
|
system "#{bin}/sshtrix", "-O"
|
|
end
|
|
end
|