2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl, openssl, libpcap
|
2016-11-25 11:25:07 +01:00
|
|
|
}:
|
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
with lib;
|
2016-11-25 11:25:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "cowpatty";
|
2016-11-25 11:25:07 +01:00
|
|
|
version = "4.6";
|
|
|
|
|
|
|
|
buildInputs = [ openssl libpcap ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "http://www.willhackforsushi.com/code/cowpatty/${version}/${pname}-${version}.tgz";
|
2016-11-25 11:25:07 +01:00
|
|
|
sha256 = "1hivh3bq2maxvqzwfw06fr7h8bbpvxzah6mpibh3wb85wl9w2gyd";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = "make DESTDIR=$out BINDIR=/bin install";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Offline dictionary attack against WPA/WPA2 networks";
|
|
|
|
license = licenses.gpl2;
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.willhackforsushi.com/?page_id=50";
|
2016-11-25 11:25:07 +01:00
|
|
|
maintainers = with maintainers; [ nico202 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|