Merge pull request #222606 from fabaff/ghauri

ghauri: init at 1.1.8
This commit is contained in:
Fabian Affolter 2023-03-23 20:17:44 +01:00 committed by GitHub
commit 1b90d5e1f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "ghauri";
version = "1.1.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "r0oth3x49";
repo = "ghauri";
rev = "refs7tags/${version}";
hash = "sha256-WEWiWu8U7DmRjj42BEBXA3CHTyJh2Apz59ImFrmQXEk=";
};
propagatedBuildInputs = with python3.pkgs; [
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 ];
};
}

View file

@ -4882,6 +4882,8 @@ with pkgs;
gh-ost = callPackage ../tools/misc/gh-ost { };
ghauri = callPackage ../tools/security/ghauri { };
ghdorker = callPackage ../tools/security/ghdorker { };
ghidra = if stdenv.isDarwin then darwin.apple_sdk_11_0.callPackage ../tools/security/ghidra/build.nix {}