nixpkgs-suyu/pkgs/tools/security/dnsrecon/default.nix

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

44 lines
875 B
Nix
Raw Normal View History

2021-07-16 13:09:27 +02:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnsrecon";
2022-08-14 22:33:55 +02:00
version = "1.1.3";
2022-06-13 08:56:22 +02:00
format = "setuptools";
src = fetchFromGitHub {
owner = "darkoperator";
repo = pname;
rev = version;
2022-08-14 22:33:55 +02:00
hash = "sha256-V4/6VUlMizy8EN8ajN56YF+COn3/dfmD0997R+iR86g=";
};
2021-12-11 23:50:31 +01:00
propagatedBuildInputs = with python3.pkgs; [
dnspython
netaddr
lxml
2022-06-13 08:56:22 +02:00
setuptools
];
2022-06-13 08:56:22 +02:00
preFixup = ''
# Install wordlists, etc.
install -vD namelist.txt subdomains-*.txt snoop.txt -t $out/share/wordlists
'';
2022-06-13 08:56:22 +02:00
# Tests require access to /etc/resolv.conf
doCheck = false;
2022-06-13 08:56:22 +02:00
pythonImportsCheck = [
"dnsrecon"
];
2021-12-11 23:50:31 +01:00
meta = with lib; {
2021-12-11 23:50:31 +01:00
description = "DNS Enumeration script";
homepage = "https://github.com/darkoperator/dnsrecon";
2021-07-16 13:09:27 +02:00
license = licenses.gpl2Only;
maintainers = with maintainers; [ c0bw3b fab ];
};
}