diff --git a/IP_Camera.py b/IP_Camera.py index 2b20c02..478587e 100644 --- a/IP_Camera.py +++ b/IP_Camera.py @@ -6,7 +6,7 @@ init(autoreset=True) # Replace with your Shodan API key -SHODAN_API_KEY = 'SHODAN_API_KEY' +SHODAN_API_KEY =dJqD2LwC7WV09LVrjRW2voSzKighXBWd # List of countries and their codes COUNTRIES = [ @@ -52,7 +52,7 @@ def display_country_list(): def get_ip_cameras_by_country(): """Fetch IP cameras for a selected country.""" - api = shodan.Shodan(SHODAN_API_KEY) + api = shodan.Shodan dJqD2LwC7WV09LVrjRW2voSzKighXBWd try: credits = api.info()['query_credits'] if credits <= 0: @@ -120,7 +120,7 @@ def update_ip_camera(): def main(): """Main function.""" - api = shodan.Shodan(SHODAN_API_KEY) + api = shodan.Shodan dJqD2LwC7WV09LVrjRW2voSzKighXBWd try: info = api.info() print(Fore.GREEN + "API Key is valid. Usage stats:")