Problem with WithProxy method #5182
Labels
Status: Abandoned
This issue is no longer important to the requestor and no one else has shown an interest in it.
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
use code:
ne, _ := nuclei.NewNucleiEngine(nuclei.WithTemplatesOrWorkflows(nuclei.TemplateSources{Templates: []string{yourtemplates}}),
nuclei.WithGlobalRateLimit(150, time.Second),
nuclei.WithNetworkConfig(nuclei.NetworkConfig{Timeout: 10}),
nuclei.WithProxy([]string{"socks5://127.0.0.1:7890"}, false),
//nuclei.WithVerbosity(nuclei.VerbosityOptions{Debug: true}),
)
go panic:
goroutine 1 [running]:
github.com/projectdiscovery/utils/maps.(*SyncLockMap[...]).Get(0xc0010260c8?, {0xc000c0ac20?, 0x10?})
C:/Users//go/pkg/mod/github.com/projectdiscovery/utils@v0.0.92/maps/synclock_map.go:71 +0x36
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http/httpclientpool.wrappedGet(0xc000781808, 0xc001027a80)
C:/Users//go/pkg/mod/github.com/projectdiscovery/nuclei/v3@v3.2.7/pkg/protocols/http/httpclientpool/clientpool.go:175 +0x96
github.com/projectdiscovery/nuclei/v3/pkg/protocols/http/httpclientpool.Get(0xc000781808?, 0xc000c1a100?)
C:/Users//go/pkg/mod/github.com/projectdiscovery/nuclei/v3@v3.2.7/pkg/protocols/http/httpclientpool/clientpool.go:163 +0x4b
github.com/projectdiscovery/nuclei/v3/lib.(*NucleiEngine).init(0xc0013b0e08)
C:/Users//go/pkg/mod/github.com/projectdiscovery/nuclei/v3@v3.2.7/lib/sdk_private.go:112 +0xec
github.com/projectdiscovery/nuclei/v3/lib.NewNucleiEngine({0xc001027ec0, 0x4, 0xba79e5?})
C:/Users//go/pkg/mod/github.com/projectdiscovery/nuclei/v3@v3.2.7/lib/sdk.go:276 +0x158
main.ForKeyNucleiRun({0xc00004e240, 0x1a}, {0xc00000a0e8, 0x5}, {0xc00005a0b8?, 0x4829920?})
C:/Users//Desktop/nucleiv3/main.go:265 +0x2c7
main.main()
C:/Users//Desktop/nucleiv3/main.go:144 +0x46
The text was updated successfully, but these errors were encountered: