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

OAS3 Detected- Missing hash key: "servers" (KeyError) #90

Closed
ephiot opened this issue Sep 13, 2023 · 2 comments
Closed

OAS3 Detected- Missing hash key: "servers" (KeyError) #90

ephiot opened this issue Sep 13, 2023 · 2 comments
Assignees
Labels
🔬 analyzer Issue for Analyzer 🐞 bug Something isn't working

Comments

@ephiot
Copy link

ephiot commented Sep 13, 2023

I'm running Noir against a Typescript project, I know that it currently not support Typescript and noted the it ignores and no problem, but it detects OAS3, and throws an Unhandled Exception:

              .__
  ____   ____ |__|______
/    \ /  _ \|  \_  __ \
|   |  (  <♠> )  ||  | \/
|___|  /\____/|__||__|
     \/                 v0.7.0

 

[*] Detecting technologies to base directory.
[I] Detected 1 technologies.
    oas3
[*] Initiate code analysis based on the detected technology.
[*] Starting analysis of endpoints.
    17 Analyzers initialized
    Analysis to 1 technologies
Unhandled exception: Missing hash key: "servers" (KeyError)
  from noir in '??'
  from noir in '??'
  from noir in '??'
  from noir in '__crystal_main'
  from noir in 'main'
  from /lib/x86_64-linux-gnu/libc.so.6 in '??'
  from /lib/x86_64-linux-gnu/libc.so.6 in '__libc_start_main'
  from noir in '_start'
  from ???

I`m using Kali Linux 2023.1 (kali-roolling), this behavior is expected ?

@hahwul
Copy link
Member

hahwul commented Sep 13, 2023

Hi @ephiot
Thank you so much for the report! I'm currently working on fixing this issue and preparing the release for version 7.0.1. Once the release is complete, I'd appreciate it if you could test it out for me. :D

@hahwul
Copy link
Member

hahwul commented Sep 13, 2023

@ephiot
The release has just been completed. I didn't have any problems when testing, but if it reoccurs in your case, please re-open the issue! Then have a nice day.

@hahwul hahwul closed this as completed Sep 13, 2023
@hahwul hahwul added 🐞 bug Something isn't working 🔬 analyzer Issue for Analyzer labels Sep 13, 2023
@hahwul hahwul self-assigned this Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔬 analyzer Issue for Analyzer 🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants