hatching / vmcloak

Automated Virtual Machine Generation and Cloaking for Cuckoo Sandbox.
479 stars 118 forks source link

Use dict.get() to prevent KeyError on Chrome latest which never has sha1 #140

Closed utkonos closed 2 years ago

utkonos commented 5 years ago

When listing deps, a KeyError exception is thrown when the chrome latest data is printed. This prevents this exception. It will print "None" due to the .get method's default. This may be changed by setting a better default like "Unavailable" or some such, but None should be OK.