diff options
author | Edward Tjörnhammar <ed@cflags.cc> | 2014-01-26 21:42:18 +0100 |
---|---|---|
committer | Edward Tjörnhammar <ed@cflags.cc> | 2014-01-29 20:56:54 +0100 |
commit | 00765dccd832cb78f970d6aa53e94ba76a290805 (patch) | |
tree | 69204328c14c0cddfe9083cc5b93c0c3139c3367 /pkgs/tools/networking/bully | |
parent | 9109c4650cd8514fc6279fefb918ad00cee3433e (diff) |
bully, a wpa/wpa2 passphrase retriever from wps enabled devices
Diffstat (limited to 'pkgs/tools/networking/bully')
-rw-r--r-- | pkgs/tools/networking/bully/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/networking/bully/default.nix b/pkgs/tools/networking/bully/default.nix new file mode 100644 index 0000000000000..f667d772ac443 --- /dev/null +++ b/pkgs/tools/networking/bully/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchurl, openssl, libpcap}: + +stdenv.mkDerivation rec { + name = "bully-${version}"; + version = "1.0-22"; + src = fetchurl { + url = "https://github.com/bdpurcell/bully/archive/v${version}.tar.gz"; + sha256 = "72f568f659fdcf70455a17f91f25dde65a53431c67c796517d3d3c4a4703ab68"; + }; + buildInputs = [ openssl libpcap ]; + + buildPhase = '' + cd src + make + ''; + + installPhase = '' + mkdir -p $out/bin + mv bully $out/bin + ''; + + meta = { + description = "Retrieve WPA/WPA2 passphrase from a WPS enabled access point."; + homepage = "https://github.com/bdpurcell/bully"; + maintainers = [ stdenv.lib.maintainers.edwtjo ]; + license = stdenv.lib.licenses.gpl3; + }; +} \ No newline at end of file |