{"id":15546058,"url":"https://github.com/codingo/dorky","last_synced_at":"2025-04-09T20:11:03.667Z","repository":{"id":155570555,"uuid":"196904639","full_name":"codingo/dorky","owner":"codingo","description":"A tool to quickly do keyword searches over Gitlab and Github for OSINT \u0026 bug bounty recon","archived":false,"fork":false,"pushed_at":"2023-10-20T05:39:19.000Z","size":61,"stargazers_count":235,"open_issues_count":0,"forks_count":19,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-09T20:10:53.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingo.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":"2019-07-15T01:48:07.000Z","updated_at":"2025-04-04T17:02:25.000Z","dependencies_parsed_at":"2024-05-01T10:52:40.334Z","dependency_job_id":null,"html_url":"https://github.com/codingo/dorky","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingo%2Fdorky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingo%2Fdorky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingo%2Fdorky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingo%2Fdorky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingo","download_url":"https://codeload.github.com/codingo/dorky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"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":[],"created_at":"2024-10-02T13:00:36.327Z","updated_at":"2025-04-09T20:11:03.631Z","avatar_url":"https://github.com/codingo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dorky\n\n[![License](https://img.shields.io/badge/license-GPL3-_red.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html) [![Twitter](https://img.shields.io/badge/twitter-@codingo__-blue.svg)](https://twitter.com/codingo_)\n\nDorky is a command-line tool that searches GitHub and GitLab for matches in organization names, repository names, and usernames based on a list of input words. This tool can be helpful in identifying potential targets for security assessments, finding interesting projects, and discovering new organizations and users on GitHub and GitLab.\n\n## Example\n\n```bash\necho \"codingo\\ncodingo dot com\" | dorky -o -r -u -c\n```\n\nThis will search for organization names, repository names, and usernames on both GitHub and GitLab based on the cleaned input words:\n\n```\ncodingo\ncodingodotcom\ncodingo-dot-com\n```\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/codingo/dorky.git\n```\n\n2. Set your GitHub and/or GitLab access tokens as environment variables:\n\n```bash\nexport GITHUB_ACCESS_TOKEN=your-github-access-token\nexport GITLAB_ACCESS_TOKEN=your-gitlab-access-token\n```\n\n3. Pull the dependencies:\n\n```\ngo get\n```\n\n4. Build the Dorky tool:\n\n```bash\ngo build -o dorky\n```\n\n## Docker Instructions\n\n### Requirements\n\n- Docker\n- GITHUB_ACCESS_TOKEN and GITLAB_ACCESS_TOKEN environment variables\n\n1. Build the Docker image:\n\n   ```bash\n   docker build -t dorky .\n   ```\n\n2. Run the Docker container:\n\n   ```bash\n   docker run --rm -it -e GITHUB_ACCESS_TOKEN=your-github-token -e GITLAB_ACCESS_TOKEN=your-gitlab-token dorky\n   ```\n\n   Replace `your-github-token` and `your-gitlab-token` with your GitHub and GitLab access tokens, respectively.\n\n## Usage\n\nPipe a list of words to the Dorky tool and use the appropriate flags to specify the search categories and platforms:\n\n```\ncat wordlist.txt | ./dorky -uro -gh\n```\n\nAvailable flags:\n\n- `-o`: Search for organization names (or groups in GitLab)\n- `-r`: Search for repository names (or projects in GitLab)\n- `-u`: Search for username matches\n- `-max`: Set the maximum number of search results per category (default: 10)\n- `-c`: Clean input URLs, turning them into words before performing searches\n- `-gh`: Search only GitHub\n- `-gl`: Search only GitLab\n- `-s`: Simple output style for piping to another tool\n- `-v`: Enable verbose mode for more detailed output\n\nBy default, the tool searches both GitHub and GitLab based on the provided access tokens. If both tokens are set, both platforms will be searched. If only one token is set, only that platform will be searched.\n\n## Dependencies\n\n- google/go-github/v38\n- xanzy/go-gitlab\n- golang.org/x/oauth2\n- golang.org/x/time/rate\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingo%2Fdorky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingo%2Fdorky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingo%2Fdorky/lists"}