☄️.git exposé

Extension

DotGit

DotGit est une extension chrome et firefox recherchant pour chaque page visité la présence d'un fichier ".git" exposé.

ressource: https://github.com/davtur19/DotGit

Dork

“index of” inurl:.git

intitle:"index of" .git/hooks/

Téléchargement

$ wget --mirror -I https://target.com/.git/

Analyse

Status

$ git status

Récupération des fichiers supprimés

$ git restore .

ou

$ git checkout -- .

Logs

$ git log

Lecture des commits

$ git show <commit id>

Analyse de code

🗿pageAnalyse statique

Dernière mise à jour