Kang Asu
Git-Scanner - A Tool For Bug Hunting Or Pentesting For Targeting Websites That Have Open .git Repositories Available In Public
This 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.Installation
- git clone https://github.com/HightechSec/git-scanner
- cd git-scanner
- bash gitscanner.sh
or you can install in your system like this
- git clone https://github.com/HightechSec/git-scanner
- cd git-scanner
- sudo cp gitscanner.sh /usr/bin/gitscanner && sudo chmod +x /usr/bin/gitscanner
- $ gitscanner
Usage
- Menu's
- Menu
1is for scanning and dumping git repositories from a provided file that contains thelist of the target urlor a providedsingle target url. - Menu
2is for scanning only a git repositories from a provided file that contains thelist of the target urlor a providedsingle target url. - Menu
3is for Dumping only the git repositories from a provided file that containslist of the target urlor a providedsingle target url. This will work for theMaybe VulnResults or sometimes with a repository that had directory listing disabled or maybe had a403 Error Response. - Menu
4is for Extracting files only from a Folder that had .git Repositories to a destination folder
- Menu
- URL Format
- Use
http://likehttp://example.comorhttps://likehttps://example.comfor the url formatting - Make sure use this format in the files that contains the list of possible target that you have, Example:
- Use
- Extractor
- 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 repositoryand the second option is for inputing theDestination folder
- When using Extractor, make sure the location of the git repositories that you select are correct. Remember, The first option is for inputing the
Requirements
- curl
- bash
- git
- sed
Todos
- Creating a
Docker Imagesif it's possible Adding Extractor on the next VersionAdded in version 1.0.2#beta but still experimental.- Adding
Thread ProcessingMulti Processing (Bash doesn't Support Threading)
Regards
Kang Asu



No comments:
Post a Comment
# Silahkan berkomentar, bertanya dan kritik dengan sopan
# Disini anda boleh menyisipkan Link di kolom komentar
# Tetapi akan saya moderasi atau Review terlebih dahulu tiap komentar
# Jangan sampai komentar anda mengandung SPAM.
# Terima Kasih - Regards Muhammad Sobri Maulana