Skip to content

Commit

Permalink
adding rusthound temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShutdownRepo committed Aug 3, 2024
1 parent 6c82c83 commit 29b19e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sources/install/package_ad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,13 @@ function install_rusthound() {
# Sourcing rustup shell setup, so that rust binaries are found when installing cme
source "$HOME/.cargo/env"
cargo build --release
# Temp fix for : https://github.com/NH-RED-TEAM/RustHound/issues/32
local temp_fix_limit="2024-09-01"
if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then
criticalecho "Temp fix expired. Exiting."
else
cargo update -p time
fi
# Clean dependencies used to build the binary
rm -rf target/release/{deps,build}
ln -s /opt/tools/RustHound/target/release/rusthound /opt/tools/bin/rusthound
Expand Down

0 comments on commit 29b19e9

Please sign in to comment.