mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
21 lines
449 B
Nix
21 lines
449 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 = "Famous wordlist often used for brute force attacks";
|
|
};
|
|
}
|