Skip to content

Commit 9aa5d3d

Browse files
committed
Merge remote-tracking branch 'origin'
2 parents bbba454 + faac44c commit 9aa5d3d

File tree

6 files changed

+180
-140
lines changed

6 files changed

+180
-140
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Base
2-
FROM golang:1.21.4-alpine AS builder
2+
FROM golang:1.24.5-alpine AS builder
33

44
RUN apk add --no-cache git build-base gcc musl-dev
55
WORKDIR /app

cmd/httpx/httpx.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func main() {
3232

3333
defer func() {
3434
_ = pprof.Lookup("heap").WriteTo(f, 0)
35-
f.Close()
35+
_ = f.Close()
3636
runtime.MemProfileRate = old
3737
gologger.Print().Msgf("profile: memory profiling disabled, %s", options.Memprofile)
3838
}()
@@ -45,7 +45,9 @@ func main() {
4545
if err != nil {
4646
gologger.Fatal().Msgf("Could not open file: %s\n", err)
4747
}
48-
defer file.Close()
48+
defer func() {
49+
_ = file.Close()
50+
}()
4951
dec := json.NewDecoder(file)
5052
for dec.More() {
5153
var r runner.Result

common/httpx/tls.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func convertCertificateToResponse(hostname string, cert *x509.Certificate) *clie
9797
NotBefore: cert.NotBefore,
9898
NotAfter: cert.NotAfter,
9999
Expired: clients.IsExpired(cert.NotAfter),
100-
SelfSigned: clients.IsSelfSigned(cert.AuthorityKeyId, cert.SubjectKeyId),
100+
SelfSigned: clients.IsSelfSigned(cert.AuthorityKeyId, cert.SubjectKeyId, cert.DNSNames),
101101
MisMatched: clients.IsMisMatchedCert(hostname, append(cert.DNSNames, cert.Subject.CommonName)),
102102
WildCardCert: clients.IsWildCardCert(append(cert.DNSNames, cert.Subject.CommonName)),
103103
IssuerCN: cert.Issuer.CommonName,

go.mod

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,29 @@ require (
2222
github.com/miekg/dns v1.1.62 // indirect
2323
github.com/pkg/errors v0.9.1
2424
github.com/projectdiscovery/asnmap v1.1.1
25-
github.com/projectdiscovery/cdncheck v1.1.27
25+
github.com/projectdiscovery/cdncheck v1.1.28
2626
github.com/projectdiscovery/clistats v0.1.1
2727
github.com/projectdiscovery/dsl v0.5.0
28-
github.com/projectdiscovery/fastdialer v0.4.1
28+
github.com/projectdiscovery/fastdialer v0.4.2
2929
github.com/projectdiscovery/fdmax v0.0.4
3030
github.com/projectdiscovery/goconfig v0.0.1
3131
github.com/projectdiscovery/goflags v0.1.74
3232
github.com/projectdiscovery/gologger v1.1.54
3333
github.com/projectdiscovery/hmap v0.0.91
3434
github.com/projectdiscovery/mapcidr v1.1.34
35-
github.com/projectdiscovery/networkpolicy v0.1.17
35+
github.com/projectdiscovery/networkpolicy v0.1.18
3636
github.com/projectdiscovery/ratelimit v0.0.81
3737
github.com/projectdiscovery/rawhttp v0.1.90
38-
github.com/projectdiscovery/retryablehttp-go v1.0.117
39-
github.com/projectdiscovery/tlsx v1.1.9
38+
github.com/projectdiscovery/retryablehttp-go v1.0.118
39+
github.com/projectdiscovery/tlsx v1.2.0
4040
github.com/projectdiscovery/useragent v0.0.101
41-
github.com/projectdiscovery/utils v0.4.21
42-
github.com/projectdiscovery/wappalyzergo v0.2.37
41+
github.com/projectdiscovery/utils v0.4.22
42+
github.com/projectdiscovery/wappalyzergo v0.2.38
4343
github.com/rs/xid v1.6.0
4444
github.com/spaolacci/murmur3 v1.1.0
4545
github.com/stretchr/testify v1.10.0
4646
github.com/zmap/zcrypto v0.0.0-20240512203510-0fef58d9a9db
47-
go.etcd.io/bbolt v1.3.10 // indirect
47+
go.etcd.io/bbolt v1.4.0 // indirect
4848
go.uber.org/multierr v1.11.0
4949
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8
5050
golang.org/x/net v0.42.0
@@ -53,9 +53,9 @@ require (
5353
)
5454

5555
require (
56-
github.com/go-viper/mapstructure/v2 v2.3.0
56+
github.com/go-viper/mapstructure/v2 v2.4.0
5757
github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1
58-
github.com/weppos/publicsuffix-go v0.40.2
58+
github.com/weppos/publicsuffix-go v0.40.3-0.20250408071509-6074bbe7fd39
5959
)
6060

6161
require (
@@ -77,7 +77,7 @@ require (
7777
github.com/charmbracelet/glamour v0.8.0 // indirect
7878
github.com/charmbracelet/lipgloss v0.13.0 // indirect
7979
github.com/charmbracelet/x/ansi v0.3.2 // indirect
80-
github.com/cheggaaa/pb/v3 v3.1.4 // indirect
80+
github.com/cheggaaa/pb/v3 v3.1.6 // indirect
8181
github.com/cloudflare/cfssl v1.6.4 // indirect
8282
github.com/cloudflare/circl v1.6.1 // indirect
8383
github.com/cnf/structhash v0.0.0-20201127153200-e1b16c1ebc08 // indirect
@@ -86,12 +86,11 @@ require (
8686
github.com/dlclark/regexp2 v1.11.5 // indirect
8787
github.com/docker/go-units v0.5.0 // indirect
8888
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
89-
github.com/fatih/color v1.16.0 // indirect
89+
github.com/fatih/color v1.18.0 // indirect
9090
github.com/felixge/fgprof v0.9.5 // indirect
91-
github.com/gaissmai/bart v0.20.4 // indirect
91+
github.com/gaissmai/bart v0.20.5 // indirect
9292
github.com/go-ole/go-ole v1.2.6 // indirect
93-
github.com/golang/protobuf v1.5.4 // indirect
94-
github.com/google/certificate-transparency-go v1.1.4 // indirect
93+
github.com/google/certificate-transparency-go v1.3.2 // indirect
9594
github.com/google/go-github/v30 v30.1.0 // indirect
9695
github.com/google/go-querystring v1.1.0 // indirect
9796
github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7 // indirect
@@ -109,7 +108,7 @@ require (
109108
github.com/kljensen/snowball v0.8.0 // indirect
110109
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
111110
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
112-
github.com/mattn/go-colorable v0.1.13 // indirect
111+
github.com/mattn/go-colorable v0.1.14 // indirect
113112
github.com/mattn/go-isatty v0.0.20 // indirect
114113
github.com/mattn/go-runewidth v0.0.16 // indirect
115114
github.com/mholt/archives v0.1.0 // indirect
@@ -129,7 +128,7 @@ require (
129128
github.com/projectdiscovery/gostruct v0.0.2 // indirect
130129
github.com/projectdiscovery/machineid v0.0.0-20240226150047-2e2c51e35983 // indirect
131130
github.com/projectdiscovery/retryabledns v1.0.103 // indirect
132-
github.com/refraction-networking/utls v1.7.0 // indirect
131+
github.com/refraction-networking/utls v1.7.1 // indirect
133132
github.com/rivo/uniseg v0.4.7 // indirect
134133
github.com/rogpeppe/go-internal v1.12.0 // indirect
135134
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
@@ -164,13 +163,11 @@ require (
164163
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
165164
golang.org/x/crypto v0.40.0 // indirect
166165
golang.org/x/mod v0.25.0 // indirect
167-
golang.org/x/oauth2 v0.18.0 // indirect
166+
golang.org/x/oauth2 v0.28.0 // indirect
168167
golang.org/x/sync v0.16.0 // indirect
169168
golang.org/x/term v0.33.0 // indirect
170-
golang.org/x/time v0.5.0 // indirect
169+
golang.org/x/time v0.11.0 // indirect
171170
golang.org/x/tools v0.34.0 // indirect
172-
google.golang.org/appengine v1.6.8 // indirect
173-
google.golang.org/protobuf v1.33.0 // indirect
174171
gopkg.in/djherbis/times.v1 v1.3.0 // indirect
175172
gopkg.in/ini.v1 v1.67.0 // indirect
176173
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)