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

thread 'main' panicked, called Option::unwrap() on a None value #146

Open
abnair24 opened this issue Oct 31, 2023 · 3 comments
Open

thread 'main' panicked, called Option::unwrap() on a None value #146

abnair24 opened this issue Oct 31, 2023 · 3 comments

Comments

@abnair24
Copy link

Describe the bug
On running cherrybomb with openapi.json,
below error is observed

Starting Cherrybomb...
Opening OAS file...
Reading OAS file...
Parsing OAS file...
Running active scan...
thread 'main' panicked at cherrybomb-engine/src/scan/active/http_client/req.rs:86:53:
called Option::unwrap() on a None value

To Reproduce
Steps to reproduce the behavior:

  1. Run cherrybomb -f openapi.json --profile=full

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac 13.6

  • CherryBomb : Version 1.0.0 (Also built the codebase locally and ran with latest binary. same error observed)

Additional context
Add any other context about the problem here.

@DeliciousBounty
Copy link
Collaborator

Hello, @abnair24! Could you please provide your OAS file? There appears to be a problem with it. I will check that.

@abnair24
Copy link
Author

@DeliciousBounty , I cant share the OAS as its restricted to company environment. Also file is throwing any issue in any of spec validators.

@DeliciousBounty
Copy link
Collaborator

@abnair24 There is a server section in the file?

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

No branches or pull requests

2 participants