blob: 1e96bda9e470267acff279d6a594c17fcae203e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 ];
};
}
|