jwtcat: init at 0-unstable-2022-10-15 (#498143)
This commit is contained in:
@@ -93,6 +93,11 @@
|
||||
github = "0x120581f";
|
||||
githubId = 130835755;
|
||||
};
|
||||
_0x2B = {
|
||||
name = "0x2B";
|
||||
github = "0x2B-bin";
|
||||
githubId = 49249957;
|
||||
};
|
||||
_0x3f = {
|
||||
name = "0x3f";
|
||||
github = "0x3fiona";
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "jwtcat";
|
||||
version = "0-unstable-2022-10-15";
|
||||
pyproject = false;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aress31";
|
||||
repo = "jwtcat";
|
||||
rev = "f80f3d9352b82f0e7da504b2ee11f4a61f23c385";
|
||||
hash = "sha256-pk0/Lzw4yUIXfLBX/0Xwaecio42MjLYUzECQ8xaH3vY=";
|
||||
};
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
pyjwt
|
||||
coloredlogs
|
||||
tqdm
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 jwtcat.py $out/bin/jwtcat
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "CPU-based JSON Web Token cracker and scanner";
|
||||
homepage = "https://github.com/aress31/jwtcat";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ _0x2B ];
|
||||
mainProgram = "jwtcat";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user