Skip to content

Commit

Permalink
Upgrade to ACME lego v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ss23 committed Mar 20, 2023
1 parent 9540eea commit b7d79d0
Show file tree
Hide file tree
Showing 3 changed files with 1,583 additions and 95 deletions.
12 changes: 6 additions & 6 deletions core/certdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import (

"github.com/kgretzky/evilginx2/log"

"github.com/go-acme/lego/v3/certcrypto"
"github.com/go-acme/lego/v3/certificate"
"github.com/go-acme/lego/v3/challenge"
"github.com/go-acme/lego/v3/lego"
legolog "github.com/go-acme/lego/v3/log"
"github.com/go-acme/lego/v3/registration"
"github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v4/lego"
legolog "github.com/go-acme/lego/v4/log"
"github.com/go-acme/lego/v4/registration"
)

const HOSTS_DIR = "hosts"
Expand Down
28 changes: 10 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,15 @@ module github.com/kgretzky/evilginx2
go 1.14

require (
github.com/chzyer/logex v1.1.10 // indirect
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect
github.com/elazarl/goproxy v0.0.0-20190911111923-ecfe977594f1
github.com/fatih/color v1.7.0
github.com/go-acme/lego/v3 v3.1.0
github.com/gorilla/mux v1.7.3
github.com/inconshreveable/go-vhost v0.0.0-20160627193104-06d84117953b
github.com/mattn/go-colorable v0.1.4 // indirect
github.com/miekg/dns v1.1.22
github.com/chzyer/readline v1.5.1
github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819
github.com/fatih/color v1.15.0
github.com/go-acme/lego/v4 v4.10.2
github.com/gorilla/mux v1.8.0
github.com/inconshreveable/go-vhost v1.0.0
github.com/miekg/dns v1.1.52
github.com/mwitkow/go-http-dialer v0.0.0-20161116154839-378f744fb2b8
github.com/spf13/viper v1.4.0
github.com/tidwall/btree v0.0.0-20170113224114-9876f1454cf0 // indirect
github.com/tidwall/buntdb v1.1.0
github.com/tidwall/gjson v1.3.2 // indirect
github.com/tidwall/grect v0.0.0-20161006141115-ba9a043346eb // indirect
github.com/tidwall/rtree v0.0.0-20180113144539-6cd427091e0e // indirect
github.com/tidwall/tinyqueue v0.0.0-20180302190814-1e39f5511563 // indirect
golang.org/x/net v0.0.0-20200707034311-ab3426394381
github.com/spf13/viper v1.15.0
github.com/tidwall/buntdb v1.2.10
golang.org/x/net v0.8.0
)
Loading

0 comments on commit b7d79d0

Please sign in to comment.