2013-04-26 13:06:20 +00:00
|
|
|
{ stdenv, fetchurl, libpcap, sqlite }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "reaver-wps-1.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://reaver-wps.googlecode.com/files/reaver-1.4.tar.gz;
|
|
|
|
sha256 = "0bdjai4p8xbsw8zdkkk43rgsif79x0nyx4djpyv0mzh59850blxd";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpcap sqlite ];
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2014-06-30 12:56:10 +00:00
|
|
|
mkdir -p $out/bin
|
2013-04-26 13:06:20 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Brute force attack against Wifi Protected Setup";
|
|
|
|
homepage = http://code.google.com/p/reaver-wps;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2015-10-13 12:45:52 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-04-26 13:06:20 +00:00
|
|
|
};
|
|
|
|
}
|