{"id":13762761,"url":"https://github.com/hahwul/gitls","last_synced_at":"2025-07-04T11:35:32.074Z","repository":{"id":54740337,"uuid":"334002836","full_name":"hahwul/gitls","owner":"hahwul","description":"🖇 Enumerate git repository URL from list of URL / User / Org. Friendly to pipeline","archived":false,"fork":false,"pushed_at":"2024-11-24T14:27:39.000Z","size":4261,"stargazers_count":59,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T01:11:54.466Z","etag":null,"topics":["bugbounty","butbountytips","cli-tool","fetcher","git","github","security","security-tools","tool","whitebox-testing"],"latest_commit_sha":null,"homepage":"","language":"Go","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/hahwul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://paypal.me/hahwul","https://www.buymeacoffee.com/hahwul"]}},"created_at":"2021-01-29T01:24:43.000Z","updated_at":"2024-11-24T14:27:43.000Z","dependencies_parsed_at":"2024-01-15T03:59:44.597Z","dependency_job_id":"394cace1-bf67-407d-88aa-ac68219ecdca","html_url":"https://github.com/hahwul/gitls","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/hahwul/gitls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgitls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgitls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgitls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgitls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hahwul","download_url":"https://codeload.github.com/hahwul/gitls/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgitls/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263502352,"owners_count":23476572,"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","butbountytips","cli-tool","fetcher","git","github","security","security-tools","tool","whitebox-testing"],"created_at":"2024-08-03T14:00:57.044Z","updated_at":"2025-07-04T11:35:32.009Z","avatar_url":"https://github.com/hahwul.png","language":"Go","readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/13212227/106487253-d51aca80-64f5-11eb-8c30-134ca3d4cf2b.png\" alt=\"\" width=\"500px;\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"https://github.com/hahwul/gitls/workflows/Build/badge.svg\"\u003e\n  \u003cimg src=\"https://github.com/hahwul/gitls/workflows/CodeQL/badge.svg\"\u003e\n  \u003cimg src=\"https://api.codacy.com/project/badge/Grade/0ebdafdc2a3b4d85b1be09033ebbd83f\"\u003e\n  \u003ca href=\"https://twitter.com/intent/follow?screen_name=hahwul\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/hahwul?style=flat\u0026logo=twitter\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hahwul\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/hahwul?style=flat\u0026logo=github\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003e Enumerate git repository URL from list of `URL` / `User` / `Org`. Friendly to pipeline\n\nThis tool is available when the repository, such as github, is included in the bugbounty scope. Sometimes specified as an org name or user name rather than a specific repository, you can use this tool to extract url from all public repositories included in the org/user.\n\nThis can be used for various actions such as scanning or cloning for multiple repositories.\n\n\u003e 🚧 NOTICE \u003cbr\u003e\nFor unauthenticated requests in github api, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests.\n[https://docs.github.com/en/rest/overview/resources-in-the-rest-api](https://docs.github.com/en/rest/overview/resources-in-the-rest-api)\u003cbr\u003e\u003cbr\u003e\nSo too many tasks can be blocked by the API for a certain time from github. In this case, you can select the appropriate destination or access and use any IP using the torsocks(e.g `torsocks gitls -l user.list`) or `-tor` or `-proxy http://localhost:\u003cTOR-PORT\u003e` options.\n\n![](https://user-images.githubusercontent.com/13212227/190673282-5c0611dc-a594-4ed4-8b8c-e9be1a6257ac.png)\n\n## Installation\n### From go-get\n```\n▶ go install -v github.com/hahwul/gitls@latest\n```\n### Using homebres\n```\n▶ brew tap hahwul/gitls\n▶ brew install gitls\n```\n### Using snapcraft\n```\n▶ sudo snap install gitls\n```\n\n## Usage \n```\nUsage of gitls:\n  -include-users\n    \tinclude repo of org users(member)\n  -l string\n    \tList of targets (e.g -l sample.lst)\n  -o string\n    \twrite output file (optional)\n  -proxy string\n    \tusing custom proxy\n  -tor\n    \tusing tor proxy / localhost:9050\n  -version\n    \tversion of gitls\n```\n\n## Case Study\n### Make all repo urls from repo/org/user urls\nsample.lst\n```\nhttps://github.com/hahwul\nhttps://github.com/tomnomnom/gron\nhttps://github.com/tomnomnom/httprobe\nhttps://github.com/s0md3v\n```\n\nmake repo url list from sample file\n```\n▶ gitls -l sample.lst\nhttps://github.com/hahwul/a2sv\nhttps://github.com/hahwul/action-dalfox\nhttps://github.com/hahwul/asset-of-hahwul.com\nhttps://github.com/hahwul/awesome-zap-extensions\nhttps://github.com/hahwul/backbomb\nhttps://github.com/hahwul/booungJS\nhttps://github.com/hahwul/buildpack-nmap\nhttps://github.com/hahwul/buildpack-zap-daemon\nhttps://github.com/hahwul/can-i-protect-xss\nhttps://github.com/hahwul/cyan-snake\nhttps://github.com/hahwul/dalfox\nhttps://github.com/hahwul/DevSecOps\nhttps://github.com/hahwul/droid-hunter\nhttps://github.com/hahwul/exploit-db_to_dokuwiki\nhttps://github.com/hahwul/ftc\nhttps://github.com/hahwul/gitls\nhttps://github.com/hahwul/go-github-selfupdate-patched\nhttps://github.com/hahwul/hack-pet\n...snip...\nhttps://github.com/hahwul/zap-cloud-scan\nhttps://github.com/tomnomnom/gron\nhttps://github.com/tomnomnom/httprobe\nhttps://github.com/s0md3v/Arjun\nhttps://github.com/s0md3v/AwesomeXSS\nhttps://github.com/s0md3v/Blazy\nhttps://github.com/s0md3v/Bolt\n...snip...\nhttps://github.com/s0md3v/velocity\nhttps://github.com/s0md3v/XSStrike\nhttps://github.com/s0md3v/Zen\nhttps://github.com/s0md3v/zetanize\n```\n\n### Get all repository in org and included users(members)\n```\n▶ echo https://github.com/paypal | ./gitls -include-users\n```\n\n```\n....\nhttps://github.com/paypal/tech-talks\nhttps://github.com/paypal/TLS-update\nhttps://github.com/paypal/yurita\nhttps://github.com/ahunnargikar\nhttps://github.com/ahunnargikar/docker-chronos-image\nhttps://github.com/ahunnargikar/docker-tomcat7\nhttps://github.com/ahunnargikar/DockerConDemo\nhttps://github.com/ahunnargikar/elasticsearch-registry-backend\nhttps://github.com/ahunnargikar/elasticsearchindex\nhttps://github.com/ahunnargikar/jenkins-dind\nhttps://github.com/ahunnargikar/jenkins-standalone\nhttps://github.com/ahunnargikar/vagrant-mesos\nhttps://github.com/ahunnargikar/vagrant_docker_registry\nhttps://github.com/anandpalanisamy\nhttps://github.com/anilgursel\nhttps://github.com/anilgursel/squbs-sample\nhttps://github.com/bluepnume\n```\n\n### Automated testing with [gitleaks](https://github.com/zricethezav/gitleaks)\n```\n▶ gitls -l sample.lst | xargs -I % gitleaks --repo-url=% -v\n```\n\n### All clone target's repo\n```\n▶ echo \"https://github.com/paypal\" | gitls | xargs -I % git clone %\n```\n\n## Contributors\n![](/CONTRIBUTORS.svg)\n","funding_links":["https://paypal.me/hahwul","https://www.buymeacoffee.com/hahwul"],"categories":["Weapons","Go"],"sub_categories":["Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Fgitls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhahwul%2Fgitls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Fgitls/lists"}