diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
commit | c4625b175f8200f643fd6e11010932ea44c78433 (patch) | |
tree | bce3f89888c8ac3991fa5569a878a9eab6801ccc /infra/libkookie/nixpkgs/pkgs/tools/networking/amass/default.nix | |
parent | 49f735974dd103039ddc4cb576bb76555164a9e7 (diff) | |
parent | d661aa56a8843e991261510c1bb28fdc2f6975ae (diff) |
Add 'infra/libkookie/' from commit 'd661aa56a8843e991261510c1bb28fdc2f6975ae'
git-subtree-dir: infra/libkookie
git-subtree-mainline: 49f735974dd103039ddc4cb576bb76555164a9e7
git-subtree-split: d661aa56a8843e991261510c1bb28fdc2f6975ae
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/networking/amass/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/tools/networking/amass/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/networking/amass/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/networking/amass/default.nix new file mode 100644 index 000000000000..61746ebfcc5f --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/tools/networking/amass/default.nix @@ -0,0 +1,44 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "amass"; + version = "3.10.3"; + + src = fetchFromGitHub { + owner = "OWASP"; + repo = "Amass"; + rev = "v${version}"; + sha256 = "1vjplwjv0vwwxdpbky7i6dz3phl7yfcbr8fwrbsb47bmj0ldkapc"; + }; + + vendorSha256 = "0c3hyvy8s470zvrv49fx0iil59z0xq10dw4vnr55qgbm2k2pay6w"; + + outputs = [ "out" "wordlists" ]; + + postInstall = '' + mkdir -p $wordlists + cp -R 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 ]; + }; +} |