2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitLab, python2, python2Packages }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
|
|
pname = "creddump";
|
|
|
|
version = "0.3";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "kalilinux";
|
|
|
|
repo = "packages/creddump";
|
2020-11-24 20:58:05 +00:00
|
|
|
rev = "debian/${version}-1kali2";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0r3rs2hggsvv619l3fh3c0jli6d3ryyj30ni3hz0nz670z5smzcf";
|
|
|
|
};
|
|
|
|
|
|
|
|
# No setup.py is available
|
|
|
|
dontBuild = true;
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ python2Packages.pycrypto ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p ${placeholder "out"}/bin
|
|
|
|
cp -r framework ${placeholder "out"}/bin/framework
|
|
|
|
cp pwdump.py ${placeholder "out"}/bin/pwdump
|
|
|
|
cp cachedump.py ${placeholder "out"}/bin/cachedump
|
|
|
|
cp lsadump.py ${placeholder "out"}/bin/lsadump
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Python tool to extract various credentials and secrets from Windows registry hives";
|
|
|
|
homepage = "https://gitlab.com/kalilinux/packages/creddump";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.fishi0x01 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|