mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Merge pull request #1604 from edwtjo/bully
bully, a wpa/wpa2 passphrase retriever from wps enabled devices
This commit is contained in:
commit
a6f7bd5054
28
pkgs/tools/networking/bully/default.nix
Normal file
28
pkgs/tools/networking/bully/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -1619,6 +1619,8 @@ let
|
||||
|
||||
briss = callPackage ../tools/graphics/briss { };
|
||||
|
||||
bully = callPackage ../tools/networking/bully { };
|
||||
|
||||
pdnsd = callPackage ../tools/networking/pdnsd { };
|
||||
|
||||
pg_top = callPackage ../tools/misc/pg_top { };
|
||||
|
Loading…
Reference in New Issue
Block a user