title: Way to modify git pack files?
body: <p>I'm pentesting a git server currently, and I'm trying to figure out how to modify pack files. I have my git requests running through Burp proxy, however, I'm unsure how to tamper with the pack files I see being sent to the git-receive-pack endpoint. Are there any good tools for making simple modifications to pack files, such as changing the name and path of the file being uploaded?</p>
  
  <p>I've found <a href="http://www.cirosantilli.com/git-tutorial/packfiles/">lots</a> <a href="https://github.com/git/git/blob/master/Documentation/technical/pack-protocol.txt">of</a> <a href="https://github.com/git/git/blob/master/Documentation/technical/pack-format.txt">documentation</a> on pack file and the <a href="https://git-scm.com/docs/git-pack-objects">commands for manipulating them</a> via the git CLI. The issue, however, is that I want to create pack files that are malformed, which git does not allow. I've also found <a href="https://www.dulwich.io/">Dulwich</a>, but the docs don't seem to be great and I can't find any examples anywhere near what I want to do.</p>
  
  <p>Any suggestions on how to modify these pack files would be incredibly useful.</p>