{"id":17946503,"url":"https://github.com/sysevil/rusho","last_synced_at":"2025-04-03T14:42:55.015Z","repository":{"id":259614155,"uuid":"879051345","full_name":"sysevil/rusho","owner":"sysevil","description":"subdomain tool cli for shodan by Rust lang ","archived":false,"fork":false,"pushed_at":"2024-10-26T20:54:25.000Z","size":480,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T03:30:14.994Z","etag":null,"topics":["bugbounty","hacking","hacking-tool","recon","reconnaissance","rust","rust-lang","subdomain-enumeration"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sysevil.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-26T20:40:53.000Z","updated_at":"2024-10-26T20:54:29.000Z","dependencies_parsed_at":"2024-10-30T06:32:20.850Z","dependency_job_id":null,"html_url":"https://github.com/sysevil/rusho","commit_stats":null,"previous_names":["sysevil/rusho"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysevil%2Frusho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysevil%2Frusho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysevil%2Frusho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysevil%2Frusho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sysevil","download_url":"https://codeload.github.com/sysevil/rusho/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247023714,"owners_count":20870933,"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":["bugbounty","hacking","hacking-tool","recon","reconnaissance","rust","rust-lang","subdomain-enumeration"],"created_at":"2024-10-29T07:05:54.227Z","updated_at":"2025-04-03T14:42:54.988Z","avatar_url":"https://github.com/sysevil.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Shodan CLI - Rusho 🦀🏴‍☠️\n\nA Rust-based CLI utility for querying subdomains and API credits on Shodan, with automatic key rotation to maximize usage.\n\n## Features\n\n- **Credit Check**: Before querying subdomains, the CLI checks if the API key has available credits to prevent request errors.\n- **Subdomain Lookup**: Queries subdomains for a specific domain using the Shodan API.\n- **Key Rotation**: Allows rotation between multiple Shodan keys specified in a `.txt` file, ensuring that only keys with credits are used.\n- **Flexible Configuration**:\n  - **Default Key Configuration**: If no key file is provided, the application will use the default API key configured in `$HOME/.config/rusho/config.yaml` or passed by the user via flag.\n  - **Output File**: Specifies a custom output file or defaults to a file named `\u003cdomain\u003e.rusho`.\n\n## Installation\n\nClone the repository and compile the binary with Rust installed:\n\n```bash\ngit clone https://github.com/your_username/rusho.git\ncd rusho\ncargo build --release\n```\n\nThe binary will be available in target/release/rusho.\n\nUsage\n\n./rusho [FLAGS] -d \u003cdomain\u003e\n\nFlags and Arguments\n\nFlag\tDescription\tExample\n-d, --domain\t(Required) Defines the domain for subdomain lookup.\t-d example.com\n-c, --config\t(Optional) Path to a YAML configuration file with the default Shodan key.\t-c /path/to/config.yaml\n-x, --key_file\t(Optional) .txt file with multiple Shodan keys, one per line, for key rotation.\t-x /path/to/keys.txt\n-o, --output\t(Optional) Sets the output file to save the found subdomains.\t-o results.txt\n\nExamples\n\n1.\tUsing a Single Shodan Key (configured in the YAML file):\n\n```bash\n./rusho -d example.com\n```\n\n2.\tUsing a File with Multiple Keys for Rotation:\n\n```bash\n./rusho -d example.com -x keys.txt\n```\n\n3.\tSpecifying a Configuration File and an Output File:\n\n```bash\n./rusho -d example.com -c custom_config.yaml -o output.txt\n```\n\nYAML Configuration File Format\n\nTo define a default key, the YAML file (config.yaml) should have the following structure:\n\nkey: \"your_shodan_key_here\"\n\nKey File Format (keys.txt)\n\nThe keys.txt file should contain one Shodan key per line:\n\nshodan_key_1\nshodan_key_2\nshodan_key_3\n\n\n- Example\n\n![](rusho.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysevil%2Frusho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsysevil%2Frusho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysevil%2Frusho/lists"}