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

fix panic when more than one proxy is given as input #3526

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

tarunKoyalwar
Copy link
Member

@tarunKoyalwar tarunKoyalwar commented Apr 10, 2023

Proposed changes

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@tarunKoyalwar tarunKoyalwar self-assigned this Apr 10, 2023
@tarunKoyalwar tarunKoyalwar linked an issue Apr 10, 2023 that may be closed by this pull request
@tarunKoyalwar
Copy link
Member Author

tarunKoyalwar commented Apr 10, 2023

Public Proxies proxies.txt

POC

$  go run -race  . -u scanme.sh   -proxy ~/test-templates/proxies.txt -id "tech-detect"  -v

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.9.2-dev

		projectdiscovery.io
[VER] Using http://5.189.184.6:80 as proxy server
...redacted...
[INF] Using Nuclei Engine 2.9.2-dev (development)
[INF] Using Nuclei Templates 9.4.2 (latest)
[INF] Templates added in last update: 78
[INF] Templates loaded for scan: 1
[INF] Targets loaded for scan: 1
[INF] Running httpx on input host
[INF] Found 1 URL from httpx
[INF] No results found. Better luck next time!

@tarunKoyalwar tarunKoyalwar changed the title fix panic when more than 1 proxy is given as input fix panic when more than one proxy is given as input Apr 10, 2023
@ehsandeep ehsandeep merged commit ece20ec into dev Apr 12, 2023
@ehsandeep ehsandeep deleted the issue-3513-fix-proxy-panic branch April 12, 2023 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash with proxy input (panic: send on closed channel)
3 participants