Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
git-dumper — 웹사이트에서 git 저장소를 덤프하는 도구 | Kitploit
도구/GitHubGitHub/arthaud/git-dumper
ReconnaissanceVulnerability AnalysisInformation GatheringWeb Security
GitHubarthaud/git-dumper

git-dumper

웹사이트에서 git 저장소를 덤프하는 도구

저장소 보기
2.6k3051개월 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

git-dumper

웹사이트에서 git 저장소를 덤프하는 도구입니다.

설치

pip를 사용하여 간편하게 설치할 수 있습니다:

root@kitploit:~
pip install git-dumper

사용법

root@kitploit:~
usage: git-dumper [options] URL DIR

Dump a git repository from a website.

positional arguments:
  URL                   url
  DIR                   output directory

optional arguments:
  -h, --help            show this help message and exit
  --proxy PROXY         use the specified proxy
  -j JOBS, --jobs JOBS  number of simultaneous requests
  -r RETRY, --retry RETRY
                        number of request attempts before giving up
  -t TIMEOUT, --timeout TIMEOUT
                        maximum time in seconds before giving up
  -u USER_AGENT, --user-agent USER_AGENT
                        user-agent to use for requests
  -H HEADER, --header HEADER
                        additional http headers, e.g `NAME=VALUE`
  --client-cert-p12 CLIENT_CERT_P12
                        client certificate in PKCS#12 format
  --client-cert-p12-password CLIENT_CERT_P12_PASSWORD
                        password for the client certificate
  -b BRANCH, --branch BRANCH
                        additional branch name to check for (repeatable)

예제

root@kitploit:~
git-dumper http://website.com/.git ~/website

면책 조항

이 소프트웨어는 사용자 본인의 책임 하에 사용하십시오!

만약 다운로드하려는 저장소가 공격자에 의해 제어되고 있다면, 이로 인해 원격 코드 실행이 발생할 수 있음을 인지해야 합니다.

소스에서 빌드하기

pip로 의존성을 설치하기만 하면 됩니다:

root@kitploit:~
pip install -r requirements.txt

그런 다음 간단히 다음을 사용하세요:

root@kitploit:~
./git_dumper.py http://website.com/.git ~/website

작동 원리

이 도구는 먼저 디렉터리 목록을 사용할 수 있는지 확인합니다. 가능하다면 .git 디렉터리를 재귀적으로 다운로드합니다(wget으로 수행하는 방식).

디렉터리 목록을 사용할 수 없는 경우, 가능한 많은 파일을 찾기 위해 여러 방법을 사용합니다. 단계별로 git-dumper는 다음을 수행합니다:

  • 모든 일반 파일을 가져옵니다(.gitignore, .git/HEAD, .git/index 등);
  • .git/HEAD, .git/logs/HEAD, .git/config, .git/packed-refs 등을 분석하여 가능한 많은 refs(예: refs/heads/master, refs/remotes/origin/HEAD 등)를 찾습니다;
  • .git/packed-refs, .git/index, .git/refs/*, .git/logs/*를 분석하여 가능한 많은 객체(sha1)를 찾습니다;
  • 각 커밋을 분석하여 부모 커밋을 찾고, 모든 객체를 재귀적으로 가져옵니다;
  • git checkout .을 실행하여 현재 작업 트리를 복구합니다.
도구 다운로드