mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
21 lines
451 B
Nix
21 lines
451 B
Nix
{ seclists
|
|
, stdenvNoCC
|
|
}:
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "rockyou";
|
|
inherit (seclists) version src;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/wordlists/
|
|
tar -xvzf ${seclists}/share/wordlists/seclists/Passwords/Leaked-Databases/rockyou.txt.tar.gz -C $out/share/wordlists/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = seclists.meta // {
|
|
description = "A famous wordlist often used for brute force attacks";
|
|
};
|
|
}
|