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