diff --git a/src/README.md b/src/README.md index baca9cdd7..eaa5a0834 100644 --- a/src/README.md +++ b/src/README.md @@ -4,14 +4,34 @@
-_Hacktricks logos & motion designed by_ [_@ppiernacho_](https://www.instagram.com/ppieranacho/)_._ +_Hacktricks 标志和动画设计由_ [_@ppieranacho_](https://www.instagram.com/ppieranacho/)_._ ### 本地运行 HackTricks Cloud ```bash # Download latest version of hacktricks cloud git clone https://github.com/HackTricks-wiki/hacktricks-cloud + +# Select the language you want to use +export LANG="master" # Leave master for English +# "af" for Afrikaans +# "de" for German +# "el" for Greek +# "es" for Spanish +# "fr" for French +# "hi" for Hindi +# "it" for Italian +# "ja" for Japanese +# "ko" for Korean +# "pl" for Polish +# "pt" for Portuguese +# "sr" for Serbian +# "sw" for Swahili +# "tr" for Turkish +# "uk" for Ukrainian +# "zh" for Chinese + # Run the docker container indicating the path to the hacktricks-cloud folder -docker run -d --rm -p 3377:3000 --name hacktricks_cloud -v $(pwd)/hacktricks-cloud:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "cd /app && 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 "cd /app && git checkout $LANG && git pull && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0" ``` 您的本地 HackTricks Cloud 副本将在 **[http://localhost:3377](http://localhost:3377)** 一分钟后可用。 @@ -31,7 +51,7 @@ docker run -d --rm -p 3377:3000 --name hacktricks_cloud -v $(pwd)/hacktricks-clo **请查看:** -[HackTricks 值与常见问题](https://app.gitbook.com/s/-L_2uGJGU7AVNRcqRvEi/welcome/hacktricks-values-and-faq) +[HackTricks 价值观与常见问题](https://app.gitbook.com/s/-L_2uGJGU7AVNRcqRvEi/welcome/hacktricks-values-and-faq) ### Github 统计