diff options
author | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2018-11-20 12:51:26 -0800 |
---|---|---|
committer | Wael Nasreddine <wael.nasreddine@gmail.com> | 2018-12-04 19:15:28 -0800 |
commit | e212b9975172a43f329aefa4afaa41525323d87f (patch) | |
tree | 7eda6eab66325d86766b612d8a130be1af3a9af1 /pkgs/tools | |
parent | 572b514582f9f034d21f456c2ddc695173ffe8ec (diff) | |
download | nixpkgs-e212b9975172a43f329aefa4afaa41525323d87f.tar nixpkgs-e212b9975172a43f329aefa4afaa41525323d87f.tar.gz nixpkgs-e212b9975172a43f329aefa4afaa41525323d87f.tar.bz2 nixpkgs-e212b9975172a43f329aefa4afaa41525323d87f.tar.lz nixpkgs-e212b9975172a43f329aefa4afaa41525323d87f.tar.xz nixpkgs-e212b9975172a43f329aefa4afaa41525323d87f.tar.zst nixpkgs-e212b9975172a43f329aefa4afaa41525323d87f.zip |
amass: 2.8.3 -> 2.8.5
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/amass/default.nix | 20 | ||||
-rw-r--r-- | pkgs/tools/networking/amass/deps.nix | 4 |
2 files changed, 15 insertions, 9 deletions
diff --git a/pkgs/tools/networking/amass/default.nix b/pkgs/tools/networking/amass/default.nix index adb43c4aa08..16e87d2a5c9 100644 --- a/pkgs/tools/networking/amass/default.nix +++ b/pkgs/tools/networking/amass/default.nix @@ -1,11 +1,12 @@ { buildGoPackage , fetchFromGitHub +, fetchpatch , lib }: buildGoPackage rec { name = "amass-${version}"; - version = "2.8.3"; + version = "2.8.5"; goPackagePath = "github.com/OWASP/Amass"; @@ -13,17 +14,19 @@ buildGoPackage rec { owner = "OWASP"; repo = "Amass"; rev = version; - sha256 = "1pidi7bpg5z04l6ryfd7rqxshayvkqmgav0f6f1fxz4jwrmx9nnc"; + sha256 = "1nsqg1p7hcv369d53n13xps3ks6fgzkkp6v9q87l04yj32nbr5qy"; }; - # NOTE: this must be removed once amass > 2.8.3 is released. This version has - # a broken import caused by the project migrating to a new home. - preBuild = '' - sed -e 's:github.com/caffix/amass/amass/core:github.com/OWASP/Amass/amass/core:g' -i "go/src/${goPackagePath}/cmd/amass.netdomains/main.go" - ''; + outputs = [ "bin" "out" "wordlists" ]; goDeps = ./deps.nix; + postInstall = '' + mkdir -p $wordlists + cp -R $src/wordlists/*.txt $wordlists + gzip $wordlists/*.txt + ''; + meta = with lib; { description = "In-Depth DNS Enumeration and Network Mapping"; longDescription = '' @@ -33,6 +36,9 @@ buildGoPackage rec { 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; diff --git a/pkgs/tools/networking/amass/deps.nix b/pkgs/tools/networking/amass/deps.nix index 711d64fd313..e9b5acf618e 100644 --- a/pkgs/tools/networking/amass/deps.nix +++ b/pkgs/tools/networking/amass/deps.nix @@ -94,8 +94,8 @@ fetch = { type = "git"; url = "https://go.googlesource.com/sys"; - rev = "93218def8b18e66adbdab3eca8ec334700329f1f"; - sha256 = "0v0zdnsi0vw03dcfir7b228g02ag7jr7mgbgv6lnjwbbccxv07pz"; + rev = "ec83556a53fe16b65c452a104ea9d1e86a671852"; + sha256 = "1ijlbyn5gs8g6z2pjlj5h77lg7wrljqxdls4xlcfqxmghxiyci2f"; }; } ] |