exploitdb: init at 2021-05-22 (#124209)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
applePrincess 2021-05-26 11:02:01 +09:00 committed by GitHub
parent 60753cefb7
commit 69f5a9460c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "exploitdb";
version = "2021-05-22";
src = fetchFromGitHub {
owner = "offensive-security";
repo = pname;
rev = version;
sha256 = "sha256-cpzAdRAtF47j92u8GHyu6V1ycqtNld+9saCqoboAu+o=";
};
installPhase = ''
mkdir -p $out/bin
cp --recursive ./* $out/bin
cp ./.searchsploit_rc $out/bin
'';
meta = with lib; {
homepage = "https://github.com/offensive-security/exploitdb";
description = "Archive of public exploits and corresponding vulnerable software";
license = with licenses; [ gpl2Plus gpl3Plus mit ];
maintainers = with maintainers; [ applePrincess ];
};
}

View File

@ -23117,6 +23117,8 @@ in
dynamips = callPackage ../applications/virtualization/dynamips { };
exploitdb = callPackage ../tools/security/exploitdb { };
evilwm = callPackage ../applications/window-managers/evilwm {
patches = config.evilwm.patches or [];
};