nixpkgs/pkgs/by-name/kr/krbjack/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
962 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "krbjack";
2024-06-09 21:06:44 +03:00
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "almandin";
repo = "krbjack";
2024-06-09 21:06:44 +03:00
rev = "refs/tags/${version}";
hash = "sha256-rvK0I8WlXqJtau9f+6ximfzYCjX21dPIyDN56IMI0gE=";
};
pythonRelaxDeps = [
"impacket"
];
2024-06-09 21:06:44 +03:00
build-system = with python3.pkgs; [
poetry-core
];
2024-06-09 21:06:44 +03:00
dependencies = 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";
2024-06-09 21:06:44 +03:00
changelog = "https://github.com/almandin/krbjack/releases/tag/${version}}";
license = licenses.beerware;
maintainers = with maintainers; [ fab ];
mainProgram = "krbjack";
};
}