Download Latest Version endpoint-rule-set-1.json.gz (1.3 kB)
Email in envelope

Get an email when there's a new version of aws

Home / GitTools / Finder
Name Modified Size InfoDownloads / Week
Parent folder
gitfinder.py 2023-08-11 2.6 kB
README.md 2023-08-11 757 Bytes
requirements.txt 2023-08-11 9 Bytes
Totals: 3 Items   3.4 kB 0

GitFinder

This python script identifies websites with publicly accessible .git repositories. It checks if the .git/HEAD file contains refs/heads.

Setup

> pip3 install -r requirements.txt

Usage

> python3 gitfinder.py -h
usage: gitfinder.py [-h] [-i INPUTFILE] [-o OUTPUTFILE] [-t THREADS]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUTFILE, --inputfile INPUTFILE
                        input file
  -o OUTPUTFILE, --outputfile OUTPUTFILE
                        output file
  -t THREADS, --threads THREADS
                        threads

The input file should contain the targets one per line. The script will output discovered domains in the form of [*] Found: DOMAIN to stdout.

Source: README.md, updated 2023-08-11