{"id":13581221,"url":"https://github.com/HightechSec/git-scanner","last_synced_at":"2025-04-06T06:32:56.006Z","repository":{"id":61126534,"uuid":"264685906","full_name":"HightechSec/git-scanner","owner":"HightechSec","description":"A tool for bug hunting or pentesting for targeting websites that have open .git repositories available in public","archived":false,"fork":false,"pushed_at":"2020-06-23T05:44:26.000Z","size":1169,"stargazers_count":340,"open_issues_count":3,"forks_count":86,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-05T20:47:01.803Z","etag":null,"topics":["bash","bughunting","git-dumper","hacking-tools","pentest-tool","pentesting","security-audit"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/HightechSec.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-17T14:30:19.000Z","updated_at":"2024-10-24T17:05:08.000Z","dependencies_parsed_at":"2022-10-11T11:13:30.912Z","dependency_job_id":null,"html_url":"https://github.com/HightechSec/git-scanner","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/HightechSec%2Fgit-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HightechSec%2Fgit-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HightechSec%2Fgit-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HightechSec%2Fgit-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HightechSec","download_url":"https://codeload.github.com/HightechSec/git-scanner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445661,"owners_count":20939953,"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":["bash","bughunting","git-dumper","hacking-tools","pentest-tool","pentesting","security-audit"],"created_at":"2024-08-01T15:01:59.315Z","updated_at":"2025-04-06T06:32:55.443Z","avatar_url":"https://github.com/HightechSec.png","language":"Shell","readme":"# Git Scanner Framework\n[![License](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://github.com/HightechSec/git-scanner/blob/master/LICENSE.md)\n![Build](https://img.shields.io/badge/Supported_OS-Linux-yellow.svg?style=flat)\n![Build](https://img.shields.io/badge/Supported_WSL-Windows-blue.svg?style=flat)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/HightechSec/git-scanner)\n![GitHub repo size](https://img.shields.io/github/repo-size/HightechSec/git-scanner)\n![GitHub last commit](https://img.shields.io/github/last-commit/HightechSec/git-scanner)\n![GitHub stars](https://img.shields.io/github/stars/HightechSec/git-scanner)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/HightechSec/git-scanner)\n![GitHub forks](https://img.shields.io/github/forks/HightechSec/git-scanner)\n![GitHub issues](https://img.shields.io/github/issues/HightechSec/git-scanner)\n![GitHub watchers](https://img.shields.io/github/watchers/HightechSec/git-scanner)\n\nThis tool can scan websites with open ```.git``` repositories for `Bug Hunting`/ `Pentesting Purposes` and can dump the content of the ```.git``` repositories from webservers that found from the scanning method. This tool works with the provided Single target or Mass Target from a file list.\n\n\u003cimg src=\"https://raw.githubusercontent.com/HightechSec/git-scanner/master/img/4-gitscanner.PNG\" width=\"30%\"\u003e\u003c/img\u003e \u003cimg src=\"https://raw.githubusercontent.com/HightechSec/git-scanner/master/img/5-gitscanner.PNG\" width=\"30%\"\u003e\u003c/img\u003e \u003cimg src=\"https://raw.githubusercontent.com/HightechSec/git-scanner/master/img/6-gitscanner.PNG\" width=\"30%\"\u003e\u003c/img\u003e \n## Installation\n```\n- git clone https://github.com/HightechSec/git-scanner\n- cd git-scanner\n- bash gitscanner.sh\n``` \nor you can install in your system like this\n```\n- git clone https://github.com/HightechSec/git-scanner\n- cd git-scanner\n- sudo cp gitscanner.sh /usr/bin/gitscanner \u0026\u0026 sudo chmod +x /usr/bin/gitscanner\n- $ gitscanner\n```\n## Usage\n- Menu's\n  - Menu `1` is for scanning and dumping git repositories from a provided file that contains the `list of the target url` or a provided `single target url`.\n  - Menu `2` is for scanning only a git repositories from a provided file that contains the `list of the target url` or a provided `single target url`.\n  - Menu `3` is for Dumping only the git repositories from a provided file that contains `list of the target url` or a provided `single target url`. This will work for the `Maybe Vuln` Results or sometimes with a repository that had directory listing disabled or maybe had a `403 Error Response`.  \n  - Menu `4` is for Extracting files only from a Folder that had .git Repositories to a destination folder\n- URL Format\n  - Use ```http://``` like ```http://example.com``` or ```https://``` like ```https://example.com``` for the url formatting\n  - Make sure use this format in the files that contains the list of possible target that you have, Example:\n    - https://target.com\n    - http://hackerone.com\n    - https://bugcrowd.com\n- Extractor\n  - When using Extractor, make sure the location of the git repositories that you select are correct. Remember, The first option is for inputing the `Selected git repository` and the second option is for inputing the `Destination folder`\n\n## Requirements\n* curl\n* bash\n* git\n* sed\n\n## Todos\n- Creating a `Docker Images` if it's possible\n- ~~Adding Extractor on the next Version~~ Added in version 1.0.2#beta but still experimental.\n- Adding ~~Thread Processing~~ Multi Processing (`Bash doesn't Support Threading`)\n\n## Changelog\nAll notable changes to this project listed in this [file](https://github.com/HightechSec/git-scanner/blob/master/CHANGELOG.md)\n\n# Credits\nThanks to:\n- [GitTools](https://github.com/internetwache/GitTools) by [internetwache](https://github.com/internetwache/)\n- [Mass Git Scanner](https://github.com/Adelittle/Mass_Git_Scanner/) by [Ade Little](https://github.com/Adelittle/)\n","funding_links":[],"categories":["Tools","Shell","Shell (473)","Web Exploitation","2. [↑](#-content) Pentesting","Web"],"sub_categories":["Binary files examination and editing","Web-accessible source code ripping tools","2.5 [↑](#-content) Web","Web Accessible Source Code Ripping Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHightechSec%2Fgit-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHightechSec%2Fgit-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHightechSec%2Fgit-scanner/lists"}