Skip to content

Commit b4aa128

Browse files
authored
Merge pull request #354 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/retryabledns-1.0.115
chore(deps): bump github.com/projectdiscovery/retryabledns from 1.0.114 to 1.0.115
2 parents b3191cf + 4aa48be commit b4aa128

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ require (
7878
github.com/projectdiscovery/blackrock v0.0.1 // indirect
7979
github.com/projectdiscovery/cdncheck v1.2.36 // indirect
8080
github.com/projectdiscovery/machineid v0.0.0-20250715113114-c77eb3567582 // indirect
81-
github.com/projectdiscovery/retryabledns v1.0.114 // indirect
81+
github.com/projectdiscovery/retryabledns v1.0.115 // indirect
8282
github.com/rivo/uniseg v0.4.7 // indirect
8383
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
8484
github.com/shirou/gopsutil/v4 v4.26.3 // indirect

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ github.com/projectdiscovery/machineid v0.0.0-20250715113114-c77eb3567582 h1:eR+0
231231
github.com/projectdiscovery/machineid v0.0.0-20250715113114-c77eb3567582/go.mod h1:3G3BRKui7nMuDFAZKR/M2hiOLtaOmyukT20g88qRQjI=
232232
github.com/projectdiscovery/ratelimit v0.0.87 h1:/iDEg78pmevmrj9hehkcLylszCVShG+fb2HeNFLgi0Y=
233233
github.com/projectdiscovery/ratelimit v0.0.87/go.mod h1:LrUTP5crXcBp4TAtVTvz1Kek1z+Jo79VvWpO+z6Gpz4=
234-
github.com/projectdiscovery/retryabledns v1.0.114 h1:COyNKzhA7oa3C/1639WRXeXsKrUJx06paVbN64IHZ3E=
235-
github.com/projectdiscovery/retryabledns v1.0.114/go.mod h1:+DyanDr8naxQ2dRO9c4Ezo3NHHXhz8L0tTSRYWhiwyA=
234+
github.com/projectdiscovery/retryabledns v1.0.115 h1:RKV63FNIznFHUoawg/1hs53pVH3wqPtFhwstCuxVSoA=
235+
github.com/projectdiscovery/retryabledns v1.0.115/go.mod h1:+fEMWoPigw+M0lGNKY7AZ+g8FIgj+4sONjsinMmeL3k=
236236
github.com/projectdiscovery/utils v0.11.0 h1:CxImZSRyj9spy1wpB9HKJopr5MsIPm2r5iS8uyhAMoQ=
237237
github.com/projectdiscovery/utils v0.11.0/go.mod h1:q2mZngH1s4WDO3knYxG7iyP1KcxoRSORJCWSpCKFc1s=
238238
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=

‎internal/runner/util.go‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ import (
88
)
99

1010
func loadFromFile(file string) ([]string, error) {
11-
chanItems, err := fileutil.ReadFile(file)
12-
if err != nil {
13-
return nil, err
14-
}
1511
var items []string
16-
for item := range chanItems {
17-
var err error
12+
for item, err := range fileutil.Lines(file) {
13+
if err != nil {
14+
return nil, err
15+
}
1816
item, err = utils.Sanitize(item)
1917
if errors.Is(err, utils.ErrEmptyInput) {
2018
continue

0 commit comments

Comments
 (0)