Merge pull request #296613 from fabaff/krbjack

krbjack: init at 0-unstable-2024-02-08
This commit is contained in:
Fabian Affolter 2024-03-18 08:19:12 +01:00 committed by GitHub
commit c3f75b7562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
};
}