mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
a
This commit is contained in:
parent
062d716fee
commit
ac82eddfb5
@ -9,8 +9,9 @@ _Hacktricks logos & motion design by_ [_@ppiernacho_](https://www.instagram.com/
|
|||||||
```bash
|
```bash
|
||||||
# Download latest version of hacktricks
|
# Download latest version of hacktricks
|
||||||
git clone https://github.com/HackTricks-wiki/hacktricks
|
git clone https://github.com/HackTricks-wiki/hacktricks
|
||||||
|
|
||||||
# Select the language you want to use
|
# Select the language you want to use
|
||||||
export LANG="master"
|
export LANG="master" # Leave master for english
|
||||||
# "af" for Afrikaans
|
# "af" for Afrikaans
|
||||||
# "de" for German
|
# "de" for German
|
||||||
# "el" for Greek
|
# "el" for Greek
|
||||||
@ -27,6 +28,7 @@ export LANG="master"
|
|||||||
# "tr" for Turkish
|
# "tr" for Turkish
|
||||||
# "uk" for Ukrainian
|
# "uk" for Ukrainian
|
||||||
# "zh" for Chinese
|
# "zh" for Chinese
|
||||||
|
|
||||||
# Run the docker container indicating the path to the hacktricks folder
|
# Run the docker container indicating the path to the hacktricks folder
|
||||||
docker run -d --rm --platform linux/amd64 -p 3337:3000 --name hacktricks -v $(pwd)/hacktricks:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "cd /app && git config --global --add safe.directory /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 3337:3000 --name hacktricks -v $(pwd)/hacktricks:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "cd /app && git config --global --add safe.directory /app && git checkout $LANG && git pull && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0"
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user