ShodanSpider
ShodanSpider is an open-source tool for interacting with Shodan. It lets you search and extract data from Shodan without an API key, offering a simple command-line interface. Premium users can integrate their API key for more results. Ideal for penetration testers and cybersecurity researchers.
Install / Use
/learn @shubhamrooter/ShodanSpiderREADME
ShodanSpider v2
ShodanSpider v2 is an advanced, powerful, and easy-to-use tool for interacting with Shodan's vast database of internet-connected devices. Ideal for cybersecurity researchers, penetration testers, and bug hunters, this tool allows users to search and analyze devices on the internet with enhanced capabilities. The tool can be used both with and without a Shodan API key for basic or premium results, making it versatile for all users.
Features
- Free and Open Source: No API key required for basic use, with limited results. You can still perform Shodan searches for free but can upgrade to the full version using your Shodan API key for enhanced results.
- Enhanced Search with API Key: Input your Shodan API key for premium access and more detailed results, including advanced filtering and additional information.
- Customizable Output: Save search results to an output file and use them for later analysis. You can specify the file name to store results in a variety of formats.
- Efficient and Fast: Search Shodan for specific devices, vulnerabilities (CVE), and more, all while optimizing the search speed with timeouts and custom parameters.
- Multiple Search Options: Search for general queries, CVEs, and specific device types, making it perfect for bug hunting and vulnerability research.
Installation
Prerequisites
To run ShodanSpider, ensure that the following are installed:
- bash (for running the script)
- curl (for making HTTP requests)
- jq (for query encoding)
- Optional: A Shodan API key for enhanced results
Steps to Install
-
Clone the repository:
git clone https://github.com/shubhamrooter/ShodanSpider.git -
Navigate to the project directory:
cd ShodanSpider -
Give execute permission to the script:
chmod +x shodanspider -
Optionally, make the script executable globally (optional):
sudo cp shodanspider.sh /usr/local/bin/shodanspider
Usage
Once installed, you can use ShodanSpider v2 directly from the terminal with various options for flexible search and output control.
Options
-q <query>: Perform a Shodan search with a specific query (e.g.,apache,ssl,cve-2021-34473, etc.).-cve <cve-id>: Search for a specific CVE (e.g.,cve-2021-34473).-o <output_file>: Save the search results to a specified output file. If not provided, the results will be displayed on the terminal.-h: Display the help menu and available options.
Example Commands
-
Search for 'apache' on Shodan without an API key:
./shodanspider.sh -q "apache" -
Search for a CVE (e.g.,
cve-2021-34473):./shodanspider.sh -cve "cve-2021-34473" -
Search for 'apache' and save results to a file:
./shodanspider -q "apache" -o "results.txt" -
Search for a specific CVE and save to a file:
./shodanspider -cve "cve-2021-34473" -o "cve_results.txt"
Contributing
Contributions are welcome! If you want to contribute to ShodanSpider's development, feel free to fork the repository, make your changes, and submit a pull request.
How to Contribute
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to your fork (
git push origin feature-branch). - Submit a pull request.
License
This tool is open-source and available under the MIT License. See the LICENSE file for more information.
Contact
For any questions or support, you can contact me at:
- Email: info@shubhamrooter.com
- GitHub: ShubhamTiwari
Disclaimer
ShodanSpider v2 is intended for educational, research, and ethical use only. Unauthorized scanning and accessing systems without proper consent may violate legal regulations. Use this tool responsibly and at your own risk.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
flutter-tutor
Flutter Learning Tutor Guide You are a friendly computer science tutor specializing in Flutter development. Your role is to guide the student through learning Flutter step by step, not to provide d
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
16.9kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
