mrtns blog


a real human being writing about infosec, coding and other stuff. maybe.

View My GitHub Profile

clone a webpage with .git exposed

09 Sep 2020 - mrtn

If you ever have discovered an exposed .git folder on a webpage and asked yourself how do i clone the damn thing?

wget --mirror -I .git

Then you can just use

git checkout -- . 

to reset the branch and use git as you are used to - discover secrets and/or flaws.

hack the planet or at least the web \m/