{"id":27137745,"url":"https://github.com/m4ary/shodan-executer","last_synced_at":"2025-04-08T04:07:17.533Z","repository":{"id":205116293,"uuid":"709803566","full_name":"m4ary/Shodan-Executer","owner":"m4ary","description":"Shodan Executer: A Python tool for scanning and testing remote systems via the Shodan API.","archived":false,"fork":false,"pushed_at":"2023-11-21T09:01:44.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-21T10:26:22.254Z","etag":null,"topics":["automation","cybersecurity","enumeration","hacking","python","reconnaissance","shodan","shodan-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m4ary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-25T12:37:12.000Z","updated_at":"2023-11-21T09:06:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e50413f0-4352-4038-9a4e-6a011777cb21","html_url":"https://github.com/m4ary/Shodan-Executer","commit_stats":null,"previous_names":["m4ary/shodan-executer"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4ary%2FShodan-Executer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4ary%2FShodan-Executer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4ary%2FShodan-Executer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4ary%2FShodan-Executer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m4ary","download_url":"https://codeload.github.com/m4ary/Shodan-Executer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773722,"owners_count":20993634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cybersecurity","enumeration","hacking","python","reconnaissance","shodan","shodan-api"],"created_at":"2025-04-08T04:07:17.003Z","updated_at":"2025-04-08T04:07:17.517Z","avatar_url":"https://github.com/m4ary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Shodan Executer\n\nShodan Executer is a tool designed to utilize the Shodan API to scan and test remote systems for specific vulnerabilities or configurations based on user-defined parameters.\n\n## Features\n\n- **Shodan Integration**: Leverage the power of the Shodan API to identify potential targets.\n- **Custom Configurations**: Easily specify test configurations through a JSON file.\n- **Multithreading**: Efficiently test multiple targets concurrently.\n- **Progress Tracking**: Ability to resume testing from where it left off.\n- **Output Management**: Organize logs and results in a specified project folder.\n- **Smoke Testing**: Run limited tests to verify functionality.\n\n## Installation\n\n1. Clone the repository:\n```\ngit clone https://github.com/m4ary/Shodan-Executer\n```\n\n2. Navigate to the Shodan Executer directory:\n```\ncd Shodan-Executer\n```\n\n3. Install the required Python libraries:\n```\npip install -r requirements.txt\n```\n\n## Configuration\n\nConfiguration parameters should be defined in a JSON file named `config.json`. A template (`config_template.json`) is provided in the repository. Rename this file to `config.json` and fill in the necessary details.\n\nHere are the configuration parameters with examples:\n\n- `SHODAN_API_KEY`: Your Shodan API key. (e.g., \"YOUR_SHODAN_API_KEY_HERE\")\n- `remote_code_on_target`: The command you want to execute on the target. (e.g., \"nc {ip} {port}\")\n- `success_text`: Text that indicates a successful test. (e.g., \"Connection successful\")\n- `error_text`: Text that indicates a failed test. (e.g., \"Connection failed\")\n- `search_query`: Your Shodan search query. (e.g., \"apache\")\n- `target_port`: Target port for the test. (e.g., \"80\")\n- `limit`: Limit for the Shodan search results. (e.g., \"100\")\n- `num_threads`: Number of threads for testing. (e.g., \"10\")\n- `thread_timeout`: Timeout for each thread in seconds. (e.g., \"60\")\n\n## Usage\n\n```\npython Shodan_Executer.py -c \u003cconfig_file\u003e -p \u003cproject_folder\u003e [--smoke] [--reset]\n```\n\n- `-c, --config`: Specify the path to the configuration file (Required).\n- `-p, --project`: Specify the project folder for logs and results (Default: `default_project`).\n- `--smoke`: Run a smoke test to verify functionality.\n- `--reset`: Start from scratch, moving previous logs/results to a backup directory.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4ary%2Fshodan-executer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4ary%2Fshodan-executer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4ary%2Fshodan-executer/lists"}