{"id":37990734,"url":"https://github.com/mmpx12/xgit","last_synced_at":"2026-01-16T18:43:18.156Z","repository":{"id":58533891,"uuid":"532377059","full_name":"mmpx12/xgit","owner":"mmpx12","description":"Fast scanner for exposed git repositories.","archived":false,"fork":false,"pushed_at":"2022-10-25T11:50:22.000Z","size":194,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T09:40:45.399Z","etag":null,"topics":["exposed","git","golang","leak","pentest","pentest-tool","recon","scanner","termux","termux-tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmpx12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-03T21:23:44.000Z","updated_at":"2023-12-19T02:43:51.000Z","dependencies_parsed_at":"2023-01-20T12:06:04.674Z","dependency_job_id":null,"html_url":"https://github.com/mmpx12/xgit","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/mmpx12/xgit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmpx12","download_url":"https://codeload.github.com/mmpx12/xgit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxgit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["exposed","git","golang","leak","pentest","pentest-tool","recon","scanner","termux","termux-tool"],"created_at":"2026-01-16T18:43:14.460Z","updated_at":"2026-01-16T18:43:18.138Z","avatar_url":"https://github.com/mmpx12.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-GIT\n\n![img](.github/screenshot/output.png)\n\nScan for exposed git repositories.\n\n## Usage:\n\n```\n-h, --help                     Show this help\n-t, --thread      NBR          Number of threads (default 50)\n-o, --output      FILE         Output file (default found_git.txt)\n-d, --check-date  DATE         Only repo after date (mm-dd-yyyy, yyyy, mm-yyyy)\n-i, --input       FILE         Input file\n-k, --insecure                 Ignore certificate errors\n-T, --timeout     SEC          Set timeout (default 5s)\n-u, --user-agent  USR-AGENT    Set user agent\n-p, --proxy       PROXY        Use proxy (proto://ip:port)\n-V, --version                  Print version and exit\n```\n\n## Examples:\n\n```sh\n$ xgit -i top-alexa.txt\n$ xgit -i top-alexa.txt -k -d 2021\n$ xgit -p socks5://127.0.0.1:9050 -o good.txt -i top-alexa.txt -t 60\n```\n\n**Example of input file:**\n\n```\ngoogle.com\ngithub.com\ndomain.com/code\n```\n\n**note:** domain in list shouldn't have protocol in them:\n\n \n```go\nreq, err := http.NewRequest(\"GET\", \"https://\"+url+\"/.git/\", nil)\n```\n\n\n#### OUTPUT FILE:\n\nUrls with `[nd] ` prefix are exposed git repository but without directory listing.\n\n\n#### STDOUT\n\nIn stdout urls in cyan are git repository where directory listing is enable and yellow ones are when directory listing is disable.\n\n\n#### WARNING\n\nDo not use too much threads or you will DOS yourself.\n\n\n## Install:\n\nWith one liner if **$GOROOT/bin/** is in **$PATH**:\n\n```sh\ngo install github.com/mmpx12/xgit@latest\n```\n\nor from source with:\n\n```sh\ngit clone https://github.com/mmpx12/xgit.git\ncd xgit\nmake\nsudo make install\n# or \nsudo make all\n```\n\nfor **termux** you can do:\n\n```sh\ngit clone https://github.com/mmpx12/xgit.git\ncd xgit\nmake\nmake termux-install\n# or\nmake termux-all\n```\n\n\nThere is also prebuild binaries [here](https://github.com/mmpx12/xgit/releases/latest).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmpx12%2Fxgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmpx12%2Fxgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmpx12%2Fxgit/lists"}