diff --git a/discovery/shodansearch.py b/discovery/shodansearch.py index a0fc3e0a..634c49e7 100644 --- a/discovery/shodansearch.py +++ b/discovery/shodansearch.py @@ -4,7 +4,7 @@ from shodan import exception from shodan import Shodan -class search_shodan: +class SearchShodan: def __init__(self): self.key = Core.shodan_key() diff --git a/theHarvester.py b/theHarvester.py index 5453d7ea..4d99dd3c 100755 --- a/theHarvester.py +++ b/theHarvester.py @@ -817,7 +817,7 @@ def start(): try: for ip in host_ip: print(('\tSearching for ' + ip)) - shodan = shodansearch.search_shodan() + shodan = shodansearch.SearchShodan() rowdata = shodan.search_ip(ip) time.sleep(2) tab.add_row(rowdata)