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.
When providing an invalid Shodan API key to IoT Checker, the following error occurs:
The problem is that, API Key is not initialized to
Nonebefore checking the validity of the API key. A simple initialization toNonebefore the API key initialization will solve the problem.