Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

keyNotFoundException issue #22

Open
infosecx0 opened this issue Jan 25, 2021 · 6 comments
Open

keyNotFoundException issue #22

infosecx0 opened this issue Jan 25, 2021 · 6 comments

Comments

@infosecx0
Copy link

infosecx0 commented Jan 25, 2021

C:\Users\dadp0\Desktop\AV Evasion projects\Watson-master\Watson\bin\Debug>Watson.exe
  __    __      _
 / / /\ \ \__ _| |_ ___  ___  _ __
 \ \/  \/ / _` | __/ __|/ _ \| '_ \
  \  /\  / (_| | |_\__ \ (_) | | | |
   \/  \/ \__,_|\__|___/\___/|_| |_|

                           v2.0

                   @_RastaMouse


Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Watson.Program.Main(String[] args) in C:\Users\dadp0\Desktop\AV Evasion projects\Watson-master\Watson\Program.cs:line 25
@dvs17
Copy link

dvs17 commented Feb 4, 2021

:\Users\dadp0\Desktop\AV Evasion projects\Watson-master\Watson\bin\Debug>Watson.exe

/ / /\ \ __ | | ___ ___ _ __
\ / / / ` | __/ _|/ _ | ' \ /\ / (| | |___ \ () | | | | / / __,|__|**/**/|| ||

                       v2.0

               @_RastaMouse

Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Watson.Program.Main(String[] args) in C:\Users\dadp0\Desktop\AV Evasion projects\Watson-master\Watson\Program.cs:line 25

Had the same issue, fixed by adding { 19042, "20H2" } to the list of supported versions.

@rasta-mouse
Copy link
Owner

rasta-mouse commented Feb 4, 2021

Yeah, but none of the vulnerability definitions has entries for 19042 / 20H2, so it will always report no vulnerabilities found.
The actual solution is to throw an OperatingSystemNotSupported Exception or just print a message to the console and return.

@rasta-mouse
Copy link
Owner

Didn't mean to close...

@rasta-mouse rasta-mouse reopened this Feb 4, 2021
@rasta-mouse
Copy link
Owner

The "solution" is to stop running the tool on versions of Windows that the README doesn't say are supported...

@von-der-eretier
Copy link

ups sorry, you can delete my post x)

@Kinny092
Copy link

Thanks, please keep this up. I had the exact same issue. its useful, if i have not seen this, I would post this issue again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants