From 002f0568db617d6ade8c1ec7c2f46bf36864902c Mon Sep 17 00:00:00 2001 From: Faruk Date: Tue, 14 Jan 2025 11:09:13 -0500 Subject: [PATCH 1/2] Fix Docker command --- src/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index ae3576d7b..a05a946cb 100644 --- a/src/README.md +++ b/src/README.md @@ -10,7 +10,7 @@ _Hacktricks logos & motion design by_ [_@ppiernacho_](https://www.instagram.com/ # Download latest version of hacktricks git clone https://github.com/HackTricks-wiki/hacktricks # 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 -d --rm -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 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). From 456b2188a564badf36f019a717e1b7d07de43c14 Mon Sep 17 00:00:00 2001 From: Faruk Date: Tue, 14 Jan 2025 11:38:59 -0500 Subject: [PATCH 2/2] nxc ldap bloodhound --- src/network-services-pentesting/pentesting-ldap.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/network-services-pentesting/pentesting-ldap.md b/src/network-services-pentesting/pentesting-ldap.md index 8cc58a5db..2228f367e 100644 --- a/src/network-services-pentesting/pentesting-ldap.md +++ b/src/network-services-pentesting/pentesting-ldap.md @@ -422,9 +422,12 @@ Entry_6: Name: Hydra Brute Force Description: Need User Command: hydra -l {Username} -P {Big_Passwordlist} {IP} ldap2 -V -f + +Entry_7: + Name: Netexec LDAP BloodHound + Command: nxc ldap -u -p --bloodhound -c All -d --dns-server --dns-tcp ``` {{#include ../banners/hacktricks-training.md}} -