internetwache / GitTools

A repository with 3 tools for pwn'ing websites with .git repositories available
MIT License
3.83k stars 620 forks source link

Add "-L" argument to curl command to follow page redirects #17

Closed nick-botticelli closed 6 years ago

nick-botticelli commented 6 years ago

gitdumper.sh will download generic 301 error pages even if it links to the correct file. I've found that adding -L flag to curl command follows redirects and correctly downloads the git repository.

gehaxelt commented 6 years ago

Cool!