mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #326042 from MaxCaminer/ntlm-challenger
ntlm-challenger: init at 0-unstable-2022-11-10
This commit is contained in:
commit
01df3d36aa
@ -4123,6 +4123,12 @@
|
||||
githubId = 34543609;
|
||||
name = "creator54";
|
||||
};
|
||||
crem = {
|
||||
email = "max@alstercaminer.com";
|
||||
github = "MaxCaminer";
|
||||
githubId = 16345077;
|
||||
name = "crem";
|
||||
};
|
||||
crertel = {
|
||||
email = "chris@kedagital.com";
|
||||
github = "crertel";
|
||||
|
38
pkgs/by-name/nt/ntlm-challenger/package.nix
Normal file
38
pkgs/by-name/nt/ntlm-challenger/package.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication {
|
||||
pname = "ntlm-challenger";
|
||||
version = "0-unstable-2022-11-10";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nopfor";
|
||||
repo = "ntlm_challenger";
|
||||
rev = "bd61ef65c7692fb1968383894da662bf99026aec";
|
||||
hash = "sha256-F9aZB8M25gPDY7J7cXkAH30m7zmk4NHczUHyBDBZInA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
requests
|
||||
impacket
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ntlm_challenger.py $out/bin/ntlm_challenger
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parse NTLM challenge messages over HTTP and SMB";
|
||||
mainProgram = "ntlm_challenger";
|
||||
homepage = "https://github.com/nopfor/ntlm_challenger";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.crem ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user