Merge pull request #177914 from fabaff/adenum

adenum: init at unstable-2022-04-01
main
Sandro 2 years ago committed by GitHub
commit 8a9d978c34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 48
      pkgs/tools/security/adenum/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -0,0 +1,48 @@
{ lib
, stdenv
, fetchFromGitHub
, john
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "adenum";
version = "unstable-2022-04-01";
format = "other";
src = fetchFromGitHub {
owner = "SecuProject";
repo = "ADenum";
rev = "0e3576eca1d987d3ef22d53fc725189bb301e804";
hash = "sha256-8s4Kmt4ZjYbQGGVDWKfuRZ6kthcL8FiQytoq9Koy7Kc=";
};
propagatedBuildInputs = with python3.pkgs; [
impacket
pwntools
ldap
] ++ [
john
];
installPhase = ''
runHook preInstall
# Add shebang so we can patch it
sed -i -e '1i#!/usr/bin/python' ADenum.py
patchShebangs ADenum.py
install -vD ADenum.py $out/bin/adenum
runHook postInstall
'';
# Project has no tests
doCheck = false;
meta = with lib; {
description = "Tool to find misconfiguration through LDAP";
homepage = "https://github.com/SecuProject/ADenum";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

@ -1005,6 +1005,8 @@ with pkgs;
addlicense = callPackage ../tools/misc/addlicense { };
adenum = callPackage ../tools/security/adenum { };
adlplug = callPackage ../applications/audio/adlplug {
inherit (darwin.apple_sdk.frameworks) Foundation Cocoa Carbon CoreServices ApplicationServices CoreAudio CoreMIDI AudioToolbox Accelerate CoreImage IOKit AudioUnit QuartzCore WebKit DiscRecording CoreAudioKit;
jack = libjack2;

Loading…
Cancel
Save