Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with WithProxy method #5182

Closed
l1nk3rlin opened this issue May 14, 2024 · 2 comments
Closed

Problem with WithProxy method #5182

l1nk3rlin opened this issue May 14, 2024 · 2 comments
Assignees
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.

Comments

@l1nk3rlin
Copy link

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

@l1nk3rlin l1nk3rlin added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label May 14, 2024
@dogancanbakir
Copy link
Member

Could you please try using the 'dev' branch instead?

@dogancanbakir dogancanbakir self-assigned this May 14, 2024
@dogancanbakir dogancanbakir added the Status: Abandoned This issue is no longer important to the requestor and no one else has shown an interest in it. label May 21, 2024
@dogancanbakir
Copy link
Member

Closing this. Feel free to reopen if the issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants