Skip to content

Bug: Invalid Shodan API key blocks API Key attribute declaration #191

@abhisharma404

Description

@abhisharma404

When providing an invalid Shodan API key to IoT Checker, the following error occurs:

[Core]  [ 2019-08-01 19:58 ]  Error: Error occured: 'IoTChecker' object has no attribute '_API_KEY'

The problem is that, API Key is not initialized to None before checking the validity of the API key. A simple initialization to None before the API key initialization will solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions