2023-10-10 16:18:41 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, stdenvNoCC
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "seclists";
|
2024-02-16 20:04:16 +01:00
|
|
|
version = "2024.1";
|
2023-10-10 16:18:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "danielmiessler";
|
|
|
|
repo = "SecLists";
|
2024-02-16 20:04:16 +01:00
|
|
|
rev = "2024.1";
|
|
|
|
hash = "sha256-0wK/8cJC9FSFrQUPhRy1/uwQONx2dR3U0XOdnMpxBuA=";
|
2023-10-10 16:18:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/wordlists/seclists
|
|
|
|
find . -maxdepth 1 -type d -regextype posix-extended -regex '^./[A-Z].*' -exec cp -R {} $out/share/wordlists/seclists \;
|
|
|
|
find $out/share/wordlists/seclists -name "*.md" -delete
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A collection of multiple types of lists used during security assessments, collected in one place";
|
|
|
|
homepage = "https://github.com/danielmiessler/seclists";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ tochiaha janik pamplemousse ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|