A Python-based script that allows users to search for IP cameras using the Shodan API. The tool provides the following options for users:
- IP Address Camera: Search for IP cameras in various countries.
- About Us: Learn more about the script and its creator.
- Help: Displays instructions on how to use the script.
- Update IP Camera: A feature that will allow future updates to the IP camera search tool (currently under development).
- Search for IP cameras based on country using the Shodan API.
- View details like IP address, port, and city for each found camera.
- Learn more about the script and its creator.
- Get a help menu to understand how to use the script.
- Python 3.x
shodan
module (install viapip install shodan
)colorama
module (install viapip install colorama
)
-
Clone the repository:
git clone https://github.com/YassineDouadi/IP_Camera.git
-
Install dependencies:
pip install shodan pip install colorama
-
Replace the
SHODAN_API_KEY
in theIP_Camera.py
file with your Shodan API key. You can obtain it by signing up on Shodan.
-
Run the script:
python IP_Camera.py
-
You'll be prompted with the following options:
- [1] IP Address Camera: Select a country to search for IP cameras.
- [2] About Us: Learn more about the script and its creator.
- [3] Help: View this help guide.
- [4] Update IP Camera: This feature is under development to update camera information.
- [x] Exit: Exit the script.
Here is a screenshot of the script in action:
Feel free to contribute to the project by opening issues or submitting pull requests on GitHub.
This project is open source and available under the MIT License.
This script is for educational and research purposes only. Please use it responsibly and follow all applicable laws when querying IP cameras using the Shodan API.