keepwn: init at 0.1
This commit is contained in:
parent
b7a9deb5bd
commit
27a617a770
44
pkgs/tools/security/keepwn/default.nix
Normal file
44
pkgs/tools/security/keepwn/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "keepwn";
|
||||
version = "0.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Orange-Cyberdefense";
|
||||
repo = "KeePwn";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-s+r6QEUzkzCbs5j1G+PVgDx8cvnmQzEQ1MHAakG+skA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
chardet
|
||||
impacket
|
||||
lxml
|
||||
termcolor
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (!stdenv.isDarwin) ''
|
||||
mv $out/bin/KeePwn $out/bin/$pname
|
||||
'';
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"keepwn"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to automate KeePass discovery and secret extraction";
|
||||
homepage = "https://github.com/Orange-Cyberdefense/KeePwn";
|
||||
changelog = "https://github.com/Orange-Cyberdefense/KeePwn/releases/tag/${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -9013,6 +9013,8 @@ with pkgs;
|
||||
|
||||
keepalived = callPackage ../tools/networking/keepalived { };
|
||||
|
||||
keepwn = callPackage ../tools/security/keepwn { };
|
||||
|
||||
kestrel = callPackage ../tools/security/kestrel { };
|
||||
|
||||
kexec-tools = callPackage ../os-specific/linux/kexec-tools { };
|
||||
|
Loading…
Reference in New Issue
Block a user