diff options
| author | Yacin Nadji | 2011-05-04 20:38:16 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2011-11-20 15:48:12 -0800 |
| commit | df3d94efc588be35ac8ad416e1ecff9acc79f88f (patch) | |
| tree | 7395e85c1c972e2f16d969044326b5cb506f7862 /Library/Formula | |
| parent | 23e7b8ae7439c5d7a38344555e84d098d219adef (diff) | |
| download | homebrew-df3d94efc588be35ac8ad416e1ecff9acc79f88f.tar.bz2 | |
New formula: thc-pptp-bruter
Brute force program against pptp vpn endpoints (tcp port 1723). Fully standalone.
Supports latest MSChapV2 authentication. Tested against Windows and Cisco gateways.
Exploits a weakness in Microsoft's anti-brute force implementation which makes it
possible to try 300 passwords the second.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/thc-pptp-bruter.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/thc-pptp-bruter.rb b/Library/Formula/thc-pptp-bruter.rb new file mode 100644 index 000000000..7c2ab2c79 --- /dev/null +++ b/Library/Formula/thc-pptp-bruter.rb @@ -0,0 +1,17 @@ +require 'formula' + +class ThcPptpBruter < Formula + url 'http://freeworld.thc.org/releases/thc-pptp-bruter-0.1.4.tar.gz' + homepage 'http://thc.org' + md5 'a48160ad94169b6c7b12d561c2e5724e' + + def install + # The function openpty() is defined in pty.h on Linux, but in util.h on OS X. + # See http://groups.google.com/group/sage-devel/msg/97916255b631e3e5 + inreplace 'src/pptp_bruter.c', 'pty.h', 'util.h' + + system "./configure", "--prefix=#{prefix}" + system "make" + system "make install" + end +end |
