From cbd25be43829cc2ae5046b1772d87ddd10bad3d5 Mon Sep 17 00:00:00 2001 From: Laramies Date: Sun, 30 Dec 2018 21:30:35 +0100 Subject: [PATCH] Update shodansearch.py --- discovery/shodansearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/shodansearch.py b/discovery/shodansearch.py index 41178eed..ecb23cce 100644 --- a/discovery/shodansearch.py +++ b/discovery/shodansearch.py @@ -7,7 +7,7 @@ class search_shodan(): def __init__(self, host): self.host = host self.key = shodanAPI_key - if self.key == "oCiMsgM6rQWqiTvPxFHYcExlZgg7wvTt": + if self.key == "": raise MissingKey(True) self.api = Shodan(self.key)