9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
16 rev = "${pname}-${version}";
17 sha256 = "sha256-hlFp2ZQnoydxF2NBCjSKtmNzMj9V14AKrNYKMF/8m70=";
21 substituteInPlace brutespray.py \
22 --replace "/usr/share/brutespray" "$out/share/brutespray"
26 nativeBuildInputs = [ python3.pkgs.wrapPython makeWrapper ];
27 buildInputs = [ python3 ];
30 install -Dm0755 brutespray.py $out/bin/brutespray
31 patchShebangs $out/bin
32 patchPythonScript $out/bin/brutespray
33 wrapProgram $out/bin/brutespray \
34 --prefix PATH : ${lib.makeBinPath [ medusa ]}
36 mkdir -p $out/share/brutespray
37 cp -r wordlist/ $out/share/brutespray/wordlist
41 homepage = "https://github.com/x90skysn3k/brutespray";
42 description = "Tool to do brute-forcing from Nmap output";
44 This tool automatically attempts default credentials on found services
45 directly from Nmap output.
47 license = licenses.mit;
48 maintainers = with maintainers; [ ma27 ];