Skip to content

Commit

Permalink
Switching to using new Visits format in phishdetect browser
Browse files Browse the repository at this point in the history
  • Loading branch information
botherder committed Nov 25, 2020
1 parent 25e149f commit 5068c59
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion database.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ type AnalysisResults struct {
Score int `json:"score"`
Screenshot string `json:"screenshot"`
Warnings []phishdetect.Warning `json:"warnings"`
Visits []string `json:"visits"`
Visits []phishdetect.Visit `json:"visits"`
Resources []phishdetect.Resource `json:"resources"`
Dialogs []phishdetect.Dialog `json:"dialogs"`
Downloads []phishdetect.Download `json:"downloads"`
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require (
github.com/manifoldco/promptui v0.7.0
github.com/mattn/go-colorable v0.1.7
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
github.com/phishdetect/phishdetect v1.13.1
github.com/phishdetect/phishdetect v1.14.0
github.com/rogpeppe/go-internal v1.6.2 // indirect
github.com/sirupsen/logrus v1.7.0
github.com/spf13/pflag v1.0.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FW
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/phishdetect/phishdetect v1.13.1 h1:th5XNMO0a27VW8QGrodIALSN0jhn27KeF7b5517rRpc=
github.com/phishdetect/phishdetect v1.13.1/go.mod h1:78rW9trV0rUlWBCkMnzTX5gYf8MjFUNJ3rMZFFz8bu8=
github.com/phishdetect/phishdetect v1.14.0 h1:wyiSKUUXn6+tvTrG6ZzP/nt0fmMLs4sa0Q237Et4h7A=
github.com/phishdetect/phishdetect v1.14.0/go.mod h1:78rW9trV0rUlWBCkMnzTX5gYf8MjFUNJ3rMZFFz8bu8=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down

0 comments on commit 5068c59

Please sign in to comment.