diff --git a/scripts/__pycache__/translator.cpython-312.pyc b/scripts/__pycache__/translator.cpython-312.pyc deleted file mode 100644 index 18f2b1524..000000000 Binary files a/scripts/__pycache__/translator.cpython-312.pyc and /dev/null differ diff --git a/src/README.md b/src/README.md index 7d716d3e0..f5c8dbf69 100644 --- a/src/README.md +++ b/src/README.md @@ -4,7 +4,7 @@
-_HackTricks 标志与动效由_ [_@ppieranacho_](https://www.instagram.com/ppieranacho/)_._ +_Hacktricks logo 和动态效果由_ [_@ppieranacho_](https://www.instagram.com/ppieranacho/)_设计。_ ### 在本地运行 HackTricks Cloud ```bash @@ -12,7 +12,7 @@ _HackTricks 标志与动效由_ [_@ppieranacho_](https://www.instagram.com/ppier git clone https://github.com/HackTricks-wiki/hacktricks-cloud # Select the language you want to use -export LANG="master" # Leave master for English +export HT_LANG="master" # Leave master for English # "af" for Afrikaans # "de" for German # "el" for Greek @@ -31,29 +31,35 @@ export LANG="master" # Leave master for English # "zh" for Chinese # Run the docker container indicating the path to the hacktricks-cloud folder -docker run -d --rm --platform linux/amd64 -p 3377:3000 --name hacktricks_cloud -v $(pwd)/hacktricks-cloud:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "mkdir -p ~/.ssh && ssh-keyscan -H github.com >> ~/.ssh/known_hosts && cd /app && git checkout $LANG && git pull && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0" +docker run -d --rm --platform linux/amd64 -p 3377:3000 --name hacktricks_cloud -v $(pwd)/hacktricks-cloud:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "mkdir -p ~/.ssh && ssh-keyscan -H github.com >> ~/.ssh/known_hosts && cd /app && git checkout $HT_LANG && git pull && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0" ``` -您的本地 HackTricks Cloud 副本将在一分钟后 **可通过 [http://localhost:3377](http://localhost:3377) 访问**。 +你的本地 HackTricks Cloud 副本将在一分钟后**可通过 [http://localhost:3377](http://localhost:3377) 访问**。 -### **Pentesting CI/CD 方法论** +或者,如果你有 Docker Compose,请在仓库根目录运行以下命令: +```bash +docker compose up +``` +随附的 `docker-compose.yml` 会通过 [http://localhost:3377](http://localhost:3377) 提供当前检出的 branch,并支持 live reload。 -**在 HackTricks CI/CD Methodology 中,你将找到如何对与 CI/CD 活动相关的基础设施进行 pentest。** 阅读下列页面以获取**介绍:** +### **Pentesting CI/CD Methodology** + +**在 HackTricks CI/CD Methodology 中,你将了解如何对与 CI/CD 活动相关的基础设施进行 pentest。** 阅读以下页面获取**简介:** [pentesting-ci-cd-methodology.md](pentesting-ci-cd/pentesting-ci-cd-methodology.md) -### Pentesting Cloud 方法论 +### Pentesting Cloud Methodology -**在 HackTricks Cloud Methodology 中,你将找到如何对云环境进行 pentest。** 阅读下列页面以获取**介绍:** +**在 HackTricks Cloud Methodology 中,你将了解如何对 cloud environments 进行 pentest。** 阅读以下页面获取**简介:** [pentesting-cloud-methodology.md](pentesting-cloud/pentesting-cloud-methodology.md) -### 许可与免责声明 +### License & Disclaimer -**请在以下处查看:** +**请在以下位置查看:** [HackTricks Values & FAQ](https://app.gitbook.com/s/-L_2uGJGU7AVNRcqRvEi/welcome/hacktricks-values-and-faq) -### Github 统计 +### Github Stats ![HackTricks Cloud Github Stats](https://repobeats.axiom.co/api/embed/1dfdbb0435f74afa9803cd863f01daac17cda336.svg)