2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "amass";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "3.6.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OWASP";
|
|
|
|
repo = "Amass";
|
|
|
|
rev = "v${version}";
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "1ih681790sp0lqfbsl153dpr5vzxp1jjza28pajrqjzs7zyjmkgs";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
vendorSha256 = "1f8za3z5pv1pznbd91fk5j4y8qg93qk5zvnchjl7inyirciawdf6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "wordlists" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $wordlists
|
|
|
|
cp -R $src/examples/wordlists/*.txt $wordlists
|
|
|
|
gzip $wordlists/*.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "In-Depth DNS Enumeration and Network Mapping";
|
|
|
|
longDescription = ''
|
|
|
|
The OWASP Amass tool suite obtains subdomain names by scraping data
|
|
|
|
sources, recursive brute forcing, crawling web archives,
|
|
|
|
permuting/altering names and reverse DNS sweeping. Additionally, Amass
|
|
|
|
uses the IP addresses obtained during resolution to discover associated
|
|
|
|
netblocks and ASNs. All the information is then used to build maps of the
|
|
|
|
target networks.
|
|
|
|
|
|
|
|
Amass ships with a set of wordlist (to be used with the amass -w flag)
|
|
|
|
that are found under the wordlists output.
|
|
|
|
'';
|
|
|
|
homepage = "https://www.owasp.org/index.php/OWASP_Amass_Project";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
};
|
|
|
|
}
|