diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-03-17 12:19:07 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-03-17 12:19:07 +0100 |
commit | c610ee821ebd8be7c737d2bae6183365c3dc219e (patch) | |
tree | 2b816c71cbab02c26919b6ea603db033947f66c2 /pkgs/by-name/kr | |
parent | 62748bdf4286c1b1a3eedb8a5bc4e9198e8c7610 (diff) |
krbjack: init at 0-unstable-2024-02-08
Kerberos AP-REQ hijacking tool with DNS unsecure updates abuse https://github.com/almandin/krbjack
Diffstat (limited to 'pkgs/by-name/kr')
-rw-r--r-- | pkgs/by-name/kr/krbjack/package.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/by-name/kr/krbjack/package.nix b/pkgs/by-name/kr/krbjack/package.nix new file mode 100644 index 0000000000000..59a58f289b005 --- /dev/null +++ b/pkgs/by-name/kr/krbjack/package.nix @@ -0,0 +1,48 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "krbjack"; + version = "0-unstable-2024-02-08"; + pyproject = true; + + src = fetchFromGitHub { + owner = "almandin"; + repo = "krbjack"; + rev = "0abaf7039c11fe735120c44a9420a311b42f7551"; + hash = "sha256-rvK0I8WlXqJtau9f+6ximfzYCjX21dPIyDN56IMI0gE="; + }; + + pythonRelaxDeps = [ + "impacket" + ]; + + nativeBuildInputs = with python3.pkgs; [ + poetry-core + pythonRelaxDepsHook + ]; + + propagatedBuildInputs = with python3.pkgs; [ + colorama + dnspython + impacket + scapy + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "krbjack" + ]; + + meta = with lib; { + description = "Kerberos AP-REQ hijacking tool with DNS unsecure updates abuse"; + homepage = "https://github.com/almandin/krbjack"; + license = licenses.beerware; + maintainers = with maintainers; [ fab ]; + mainProgram = "krbjack"; + }; +} |