ebryx / gitdump Goto Github PK
View Code? Open in Web Editor NEWA pentesting tool that dumps the source code from .git even when the directory traversal is disabled
A pentesting tool that dumps the source code from .git even when the directory traversal is disabled
when run tool
URL for test: https://www.soom.com/.git/
Fetching: https://www.soom.com/.git/index
Fetching: https://www.soom.com/.git/FETCH_HEAD
Fetching: https://www.soom.com/.git/HEAD
Fetching: https://www.soom.com/.git/ORIG_HEAD
Fetching: https://www.soom.com/.git/config
Fetching: https://www.soom.com/.git/description
Fetching: https://www.soom.com/.git/packed-refs
Fetching: https://www.soom.com/.git/info/exclude
Fetching: https://www.soom.com/.git/info/refs
Fetching: https://www.soom.com/.git/logs/HEAD
Fetching: https://www.soom.com/.git/logs/refs/heads/develop
Fetching: https://www.soom.com/.git/logs/refs/heads/master
Fetching: https://www.soom.com/.git/logs/refs/remotes/origin/develop
Fetching: https://www.soom.com/.git/logs/refs/remotes/origin/step_develop
Fetching: https://www.soom.com/.git/logs/refs/remotes/origin/master
Fetching: https://www.soom.com/.git/logs/refs/remotes/github/master
Fetching: https://www.soom.com/.git/refs/heads/develop
Fetching: https://www.soom.com/.git/refs/heads/master
Fetching: https://www.soom.com/.git/refs/remotes/origin/develop
Fetching: https://www.soom.com/.git/refs/remotes/origin/master
Fetching: https://www.soom.com/.git/refs/remotes/origin/step_develop
Fetching: https://www.soom.com/.git/refs/remotes/github/master
Fetching: https://www.soom.com/.git/objects/info/packs
Fetching: https://www.soom.com/.git/refs/remotes/origin/HEAD
Parsing Index File
Traceback (most recent call last):
File "git-dump.py", line 250, in
main()
File "git-dump.py", line 243, in main
gitDumper()
File "git-dump.py", line 201, in gitDumper
sha1List = sha1Extractor()
File "git-dump.py", line 113, in sha1Extractor
jsonList = gin.parse_file(outputFolder + ".git/index", pretty=False)
File "/root/GitDump/gin.py", line 179, in parse_file
for item in parse(arg, pretty=pretty):
File "/root/GitDump/gin.py", line 27, in parse
with open(filename, "rb") as o:
FileNotFoundError: [Errno 2] No such file or directory: 'output/.git/index'
Fetching: refs/heads/master
Fetching: refs/remotes/origin/develop
Fetching: refs/remotes/origin/master
Fetching: refs/remotes/origin/step_develop
Fetching: refs/remotes/github/master
Fetching: objects/info/packs
Fetching: refs/remotes/origin/HEAD
Downloading Index File
Parsing Index File
Traceback (most recent call last):
File "git-dump.py", line 99, in
jsonList = gin.parse_file(".git/index", pretty=False)
File "/Users/cypher/tools/GitDump/gin.py", line 171, in parse_file
for item in parse(arg, pretty=pretty):
File "/Users/cypher/tools/GitDump/gin.py", line 25, in parse
f = mmap.mmap(o.fileno(), 0, prot=mmap.PROT_READ)
ValueError: cannot mmap an empty file
Cyphers-MBP:GitDump cypher$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.