2023-03-24 00:07:29 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "ghauri";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "1.3.8";
|
2024-06-20 14:57:18 +00:00
|
|
|
pyproject = true;
|
2023-03-24 00:07:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "r0oth3x49";
|
|
|
|
repo = "ghauri";
|
2023-04-29 16:46:19 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-10-04 16:56:33 +00:00
|
|
|
hash = "sha256-GEUuQMtp8XO32uOIILWiMfngPXx/3vCKk+YbA0E13rg=";
|
2023-03-24 00:07:29 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
build-system = with python3.pkgs; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2023-03-24 00:07:29 +00:00
|
|
|
chardet
|
|
|
|
colorama
|
|
|
|
requests
|
|
|
|
tldextract
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"ghauri"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool for detecting and exploiting SQL injection security flaws";
|
|
|
|
homepage = "https://github.com/r0oth3x49/ghauri";
|
|
|
|
changelog = "https://github.com/r0oth3x49/ghauri/releases/tag/${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-06-20 14:57:18 +00:00
|
|
|
mainProgram = "ghauri";
|
2023-03-24 00:07:29 +00:00
|
|
|
};
|
|
|
|
}
|