summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/security/cowpatty
diff options
context:
space:
mode:
authorNicolò Balzarotti <anothersms@gmail.com>2016-11-25 11:25:07 +0100
committerNicolò Balzarotti <anothersms@gmail.com>2016-11-25 11:25:07 +0100
commit54b42cb454fe552bdba1a57a7eeaf2d462c10360 (patch)
tree34387ecbd9c6ca7b7630a131f5a8210d4f6e5e18 /pkgs/tools/security/cowpatty
parent682bb54cc45dc3b9f973e9ba594d25680b9f8e33 (diff)
coWPAtty: init at 4.6
Diffstat (limited to 'pkgs/tools/security/cowpatty')
-rw-r--r--pkgs/tools/security/cowpatty/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/cowpatty/default.nix b/pkgs/tools/security/cowpatty/default.nix
new file mode 100644
index 000000000000..de34005401b1
--- /dev/null
+++ b/pkgs/tools/security/cowpatty/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl, openssl, libpcap
+}:
+
+with stdenv.lib;
+
+stdenv.mkDerivation rec {
+ name = "cowpatty-${version}";
+ version = "4.6";
+
+ buildInputs = [ openssl libpcap ];
+
+ src = fetchurl {
+ url = "http://www.willhackforsushi.com/code/cowpatty/${version}/${name}.tgz";
+ sha256 = "1hivh3bq2maxvqzwfw06fr7h8bbpvxzah6mpibh3wb85wl9w2gyd";
+ };
+
+ installPhase = "make DESTDIR=$out BINDIR=/bin install";
+
+ meta = {
+ description = "Offline dictionary attack against WPA/WPA2 networks";
+ license = licenses.gpl2;
+ homepage = http://www.willhackforsushi.com/?page_id=50;
+ maintainers = with maintainers; [ nico202 ];
+ platforms = platforms.linux;
+ };
+}