This commit is contained in:
Carlos Polop 2025-01-21 16:33:36 +01:00
parent 04f453fea8
commit 0af54614e0
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ _Hacktricks logos & motion design by_ [_@ppiernacho_](https://www.instagram.com/
# 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
# 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 -p 3337:3000 --name hacktricks -v $(pwd)/hacktricks:/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 --rm -p 3337:3000 --name hacktricks -v $(pwd)/hacktricks:/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"
``` ```
Your local copy of HackTricks will be **available at [http://localhost:3337](http://localhost:3337)** after <5 minutes (it needs to build the book, be patient). Your local copy of HackTricks will be **available at [http://localhost:3337](http://localhost:3337)** after <5 minutes (it needs to build the book, be patient).

View File

@ -49,12 +49,12 @@ After the creation of BloodHound CE, the entire project was updated for ease of
1. Install Docker Compose. This should be included with the [Docker Desktop](https://www.docker.com/products/docker-desktop/) installation. 1. Install Docker Compose. This should be included with the [Docker Desktop](https://www.docker.com/products/docker-desktop/) installation.
2. Run: 2. Run:
``` ```bash
curl -L https://ghst.ly/getbhce | docker compose -f - up curl -L https://ghst.ly/getbhce | docker compose -f - up
``` ```
3. Locate the randomly generated password in the terminal output of Docker Compose. 3. Locate the randomly generated password in the terminal output of Docker Compose.
4. In a browser, navigate to http://localhost:8080/ui/login. Login with a username of admin and the randomly generated password from the logs. 4. In a browser, navigate to http://localhost:8080/ui/login. Login with the username **`admin`** and a **`randomly generated password`** you can find in the logs of docker compose.
After this you will need to change the randomly generated password and you will have the new interface ready, from which you can directly download the ingestors. After this you will need to change the randomly generated password and you will have the new interface ready, from which you can directly download the ingestors.