File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -231,8 +231,8 @@ github.com/projectdiscovery/machineid v0.0.0-20250715113114-c77eb3567582 h1:eR+0
231231github.qkg1.top/projectdiscovery/machineid v0.0.0-20250715113114-c77eb3567582 /go.mod h1:3G3BRKui7nMuDFAZKR/M2hiOLtaOmyukT20g88qRQjI =
232232github.qkg1.top/projectdiscovery/ratelimit v0.0.87 h1:/iDEg78pmevmrj9hehkcLylszCVShG+fb2HeNFLgi0Y =
233233github.qkg1.top/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 =
236236github.qkg1.top/projectdiscovery/utils v0.11.0 h1:CxImZSRyj9spy1wpB9HKJopr5MsIPm2r5iS8uyhAMoQ =
237237github.qkg1.top/projectdiscovery/utils v0.11.0 /go.mod h1:q2mZngH1s4WDO3knYxG7iyP1KcxoRSORJCWSpCKFc1s =
238238github.qkg1.top/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 /go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA =
Original file line number Diff line number Diff line change @@ -8,13 +8,11 @@ import (
88)
99
1010func 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
You can’t perform that action at this time.
0 commit comments