Skip to content

Commit

Permalink
Moved the DNS resolvers package to another repository
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Mar 27, 2021
1 parent e4e2212 commit dc81108
Show file tree
Hide file tree
Showing 30 changed files with 54 additions and 2,054 deletions.
4 changes: 2 additions & 2 deletions cmd/amass/dns.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017 Jeff Foley. All rights reserved.
// Copyright 2017-2021 Jeff Foley. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

package main
Expand All @@ -18,9 +18,9 @@ import (
"github.com/OWASP/Amass/v3/config"
"github.com/OWASP/Amass/v3/format"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/OWASP/Amass/v3/systems"
"github.com/caffix/eventbus"
"github.com/caffix/resolvers"
"github.com/caffix/stringset"
"github.com/fatih/color"
"github.com/miekg/dns"
Expand Down
2 changes: 1 addition & 1 deletion cmd/amass/enum.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017 Jeff Foley. All rights reserved.
// Copyright 2017-2021 Jeff Foley. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

package main
Expand Down
2 changes: 1 addition & 1 deletion datasrcs/radb.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
amassnet "github.com/OWASP/Amass/v3/net"
"github.com/OWASP/Amass/v3/net/http"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/OWASP/Amass/v3/systems"
"github.com/caffix/eventbus"
"github.com/caffix/resolvers"
"github.com/caffix/service"
"github.com/caffix/stringset"
"github.com/miekg/dns"
Expand Down
2 changes: 1 addition & 1 deletion datasrcs/shadowserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
amassnet "github.com/OWASP/Amass/v3/net"
amassdns "github.com/OWASP/Amass/v3/net/dns"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/OWASP/Amass/v3/systems"
"github.com/caffix/eventbus"
"github.com/caffix/resolvers"
"github.com/caffix/service"
"github.com/caffix/stringset"
"github.com/miekg/dns"
Expand Down
2 changes: 1 addition & 1 deletion datasrcs/teamcymru.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
amassnet "github.com/OWASP/Amass/v3/net"
amassdns "github.com/OWASP/Amass/v3/net/dns"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/OWASP/Amass/v3/systems"
"github.com/caffix/eventbus"
"github.com/caffix/resolvers"
"github.com/caffix/service"
"github.com/caffix/stringset"
"github.com/miekg/dns"
Expand Down
2 changes: 1 addition & 1 deletion datasrcs/umbrella.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"github.com/OWASP/Amass/v3/config"
"github.com/OWASP/Amass/v3/net/http"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/OWASP/Amass/v3/systems"
"github.com/caffix/eventbus"
"github.com/caffix/resolvers"
"github.com/caffix/service"
"github.com/caffix/stringset"
)
Expand Down
11 changes: 6 additions & 5 deletions enum/active.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/OWASP/Amass/v3/net/http"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/caffix/eventbus"
"github.com/caffix/pipeline"
"github.com/caffix/queue"
"github.com/caffix/resolvers"
"github.com/miekg/dns"
)

Expand Down Expand Up @@ -232,7 +232,7 @@ func (a *activeTask) zoneWalk(ctx context.Context, req *requests.ZoneXFRRequest,
return
}

r := resolvers.NewBaseResolver(addr, 10, a.enum.Config.Log)
r := resolvers.NewBaseResolver(addr, 50, a.enum.Config.Log)
if r == nil {
return
}
Expand All @@ -245,7 +245,9 @@ func (a *activeTask) zoneWalk(ctx context.Context, req *requests.ZoneXFRRequest,
return
}

for _, name := range names {
for _, nsec := range names {
name := resolvers.RemoveLastDot(nsec.NextDomain)

if domain := cfg.WhichDomain(name); domain != "" {
go pipeline.SendData(ctx, "new", &requests.DNSRequest{
Name: name,
Expand Down Expand Up @@ -277,8 +279,7 @@ func (a *activeTask) nameserverAddr(ctx context.Context, server string) (string,
return "", fmt.Errorf("DNS server %s has no A or AAAA records", server)
}

ans := resolvers.ExtractAnswers(resp)
rr := resolvers.AnswersByType(ans, qtype)
rr := resolvers.AnswersByType(resolvers.ExtractAnswers(resp), qtype)
if len(rr) == 0 {
return "", fmt.Errorf("DNS server %s has no A or AAAA records", server)
}
Expand Down
2 changes: 1 addition & 1 deletion enum/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"strings"

"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/caffix/eventbus"
"github.com/caffix/pipeline"
"github.com/caffix/resolvers"
"github.com/miekg/dns"
"golang.org/x/net/publicsuffix"
)
Expand Down
11 changes: 6 additions & 5 deletions enum/enum.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017 Jeff Foley. All rights reserved.
// Copyright 2017-2021 Jeff Foley. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

package enum
Expand All @@ -11,12 +11,12 @@ import (
"github.com/OWASP/Amass/v3/datasrcs"
"github.com/OWASP/Amass/v3/graph"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/OWASP/Amass/v3/stringfilter"
"github.com/OWASP/Amass/v3/systems"
"github.com/caffix/eventbus"
"github.com/caffix/pipeline"
"github.com/caffix/queue"
"github.com/caffix/resolvers"
"github.com/caffix/service"
)

Expand Down Expand Up @@ -217,11 +217,12 @@ func (e *Enumeration) makeOutputSink() pipeline.SinkFunc {
return nil
}

var err error
if e.Config.IsDomainInScope(req.Name) {
_, err = e.Graph.InsertFQDN(req.Name, req.Source, req.Tag, e.Config.UUID.String())
if _, err := e.Graph.InsertFQDN(req.Name, req.Source, req.Tag, e.Config.UUID.String()); err != nil {
e.Bus.Publish(requests.LogTopic, eventbus.PriorityHigh, err.Error())
}
}
return err
return nil
})
}

Expand Down
2 changes: 1 addition & 1 deletion enum/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
amassnet "github.com/OWASP/Amass/v3/net"
amassdns "github.com/OWASP/Amass/v3/net/dns"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/caffix/eventbus"
"github.com/caffix/pipeline"
"github.com/caffix/resolvers"
"github.com/miekg/dns"
"golang.org/x/net/publicsuffix"
)
Expand Down
2 changes: 1 addition & 1 deletion enum/zone.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

amassnet "github.com/OWASP/Amass/v3/net"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/caffix/resolvers"
"github.com/miekg/dns"
)

Expand Down
9 changes: 4 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require (
github.com/caffix/eventbus v0.0.0-20210301213705-9ab42753d12d
github.com/caffix/pipeline v0.0.0-20210301171240-503915daec5b
github.com/caffix/queue v0.0.0-20210301212750-6e488abe1004
github.com/caffix/resolvers v0.0.0-20210327024347-a83f323e2b6c
github.com/caffix/service v0.0.0-20210321183606-3819810293b0
github.com/caffix/stringset v0.0.0-20210320213318-a00bc23f59bc
github.com/cayleygraph/cayley v0.7.7
Expand All @@ -21,18 +22,16 @@ require (
github.com/google/go-cmp v0.5.4 // indirect
github.com/google/uuid v1.1.3
github.com/lib/pq v1.9.0 // indirect
github.com/miekg/dns v1.1.35
github.com/miekg/dns v1.1.41
github.com/rakyll/statik v0.1.7
github.com/rogpeppe/go-internal v1.6.2 // indirect
github.com/sirupsen/logrus v1.7.0 // indirect
github.com/spf13/cobra v1.1.3 // indirect
github.com/stretchr/testify v1.7.0 // indirect
github.com/yl2chen/cidranger v1.0.2
github.com/yuin/gopher-lua v0.0.0-20200816102855-ee81675732da
go.uber.org/ratelimit v0.2.0
golang.org/x/net v0.0.0-20201224014010-6772e930b67b
golang.org/x/net v0.0.0-20210326220855-61e056675ecf
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a // indirect
golang.org/x/sys v0.0.0-20210326220804-49726bf1d181 // indirect
golang.org/x/text v0.3.4 // indirect
golang.org/x/tools v0.1.0 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
Expand Down
23 changes: 13 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ github.com/caffix/pipeline v0.0.0-20210301171240-503915daec5b/go.mod h1:Or+vsAnJ
github.com/caffix/queue v0.0.0-20210301043549-e3b360b69730/go.mod h1:EGrMYDMC3oIYDWaLGKWMypHkg/vEBDqxbz2guAlY0Wk=
github.com/caffix/queue v0.0.0-20210301212750-6e488abe1004 h1:n/ae8+HKTPGhHHH/5AvzW/DW5CBI1lS0jdm50gKsGBQ=
github.com/caffix/queue v0.0.0-20210301212750-6e488abe1004/go.mod h1:EGrMYDMC3oIYDWaLGKWMypHkg/vEBDqxbz2guAlY0Wk=
github.com/caffix/resolvers v0.0.0-20210327024347-a83f323e2b6c h1:rHXhdc77Xbi9Hpav1+48lAApnC3DXINUyc7IaThKbtM=
github.com/caffix/resolvers v0.0.0-20210327024347-a83f323e2b6c/go.mod h1:Sq1KB7ca8VEfgBwE/obMQ3GEyCXhejozQjZ+adBfJ6w=
github.com/caffix/service v0.0.0-20210321183606-3819810293b0 h1:Nz6NXaDgsbLv7VuFsMl19tCaLSwWwh9I2/FvnIyjS/g=
github.com/caffix/service v0.0.0-20210321183606-3819810293b0/go.mod h1:qAg+Bdi3iwg1SzXM8DBJ9lcO7v4FXXRs2MDG74vp1Z0=
github.com/caffix/stringset v0.0.0-20201218015502-4f60634ff035/go.mod h1:28GU9FTlJHzfjrFJ5Ep7vmXNkSSM3JF0miNt7ZM9V5w=
Expand Down Expand Up @@ -363,8 +365,8 @@ github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsO
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/miekg/dns v1.1.35 h1:oTfOaDH+mZkdcgdIjH6yBajRGtIwcwcaR+rt23ZSrJs=
github.com/miekg/dns v1.1.35/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM=
github.com/miekg/dns v1.1.41 h1:WMszZWJG0XmzbK9FEmzH2TVcqYzFesusSIB41b8KHxY=
github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
Expand Down Expand Up @@ -586,7 +588,6 @@ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
Expand All @@ -603,8 +604,9 @@ golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81R
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201224014010-6772e930b67b h1:iFwSg7t5GZmB/Q5TjiEAsdoLDrdJRC1RiF2WhuV29Qw=
golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210326220855-61e056675ecf h1:WUcCxqQqDT0aXO4VnQbfMvp4zh7m1Gb2clVuHUAGGRE=
golang.org/x/net v0.0.0-20210326220855-61e056675ecf/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand All @@ -622,8 +624,8 @@ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a h1:DcqTD9SDLc+1P/r1EmRBwnVsrOwW+kk2vWf9n+1sGhs=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
Expand All @@ -646,7 +648,6 @@ golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20190614160838-b47fdc937951/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191009170203-06d7bd2c5f4f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand All @@ -669,8 +670,11 @@ golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210326220804-49726bf1d181 h1:64ChN/hjER/taL4YJuA+gpLfIMT+/NFherRZixbxOhg=
golang.org/x/sys v0.0.0-20210326220804-49726bf1d181/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand Down Expand Up @@ -711,7 +715,6 @@ golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191216052735-49a3e744a425/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
Expand Down
4 changes: 2 additions & 2 deletions intel/intel.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017 Jeff Foley. All rights reserved.
// Copyright 2017-2021 Jeff Foley. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

package intel
Expand All @@ -15,11 +15,11 @@ import (
"github.com/OWASP/Amass/v3/datasrcs"
amassnet "github.com/OWASP/Amass/v3/net"
"github.com/OWASP/Amass/v3/requests"
"github.com/OWASP/Amass/v3/resolvers"
"github.com/OWASP/Amass/v3/stringfilter"
"github.com/OWASP/Amass/v3/systems"
eb "github.com/caffix/eventbus"
"github.com/caffix/pipeline"
"github.com/caffix/resolvers"
"github.com/caffix/service"
"github.com/caffix/stringset"
"github.com/miekg/dns"
Expand Down
2 changes: 1 addition & 1 deletion net/http/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/OWASP/Amass/v3/resolvers"
"github.com/caffix/resolvers"
"github.com/miekg/dns"
)

Expand Down

0 comments on commit dc81108

Please sign in to comment.