seclists: init at 2023.02
This commit is contained in:
parent
f32c2fd32c
commit
614e721377
1 changed files with 34 additions and 0 deletions
34
pkgs/by-name/se/seclists/package.nix
Normal file
34
pkgs/by-name/se/seclists/package.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, stdenvNoCC
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "seclists";
|
||||
version = "2023.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danielmiessler";
|
||||
repo = "SecLists";
|
||||
rev = "2023.2";
|
||||
hash = "sha256-yVxb5GaQDuCsyjIV+oZzNUEFoq6gMPeaIeQviwGdAgY=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue