Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitBleed

GitBleed is a tool designed for penetration testers and security researchers to dump and reconstruct an entire Git repository from a publicly exposed .git folder on a web server.


Security Warning (RCE Risk)

Caution

Malicious Git repositories can contain hooks (.git/hooks/*) and dangerous configuration directives (such as core.sshCommand, core.editor, or core.pager) that may execute arbitrary commands on your system when you interact with the repository (e.g., during git checkout).

GitBleed attempts to mitigate this risk by automatically sanitizing .git/config before running git checkout. However, no mitigation is completely foolproof. Always run this tool in isolated environments (containers, VMs, or sandboxes) and never blindly trust repositories from unknown or untrusted sources.


Disclaimer

Caution

Use this software at your own risk!

YOU AGREE TO:

  1. Use only with proper authorization
  2. Comply with all applicable laws
  3. Assume full liability for misuse

The Developer assume NO liability.


License

This project is licensed under the Apache-2.0 License. See the LICENSE file for details.

About

Tool to dump and reconstruct an entire Git repository from a publicly exposed .git folder on a web server.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages