From 345df5db07dbfa33aab5be1964076ad178fafff3 Mon Sep 17 00:00:00 2001 From: Charlie Bromberg <40902872+ShutdownRepo@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:38:46 +0100 Subject: [PATCH] Temp fix for pywerview --- sources/install/package_ad.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sources/install/package_ad.sh b/sources/install/package_ad.sh index 8c26fb391..082d39a22 100644 --- a/sources/install/package_ad.sh +++ b/sources/install/package_ad.sh @@ -1283,7 +1283,14 @@ function install_LDAPWordlistHarvester() { function install_pywerview() { # CODE-CHECK-WHITELIST=add-aliases colorecho "Installing pywerview" - pipx install --system-site-packages git+https://github.com/the-useless-one/pywerview + #pipx install --system-site-packages git+https://github.com/the-useless-one/pywerview + # Temp fix for : https://github.com/the-useless-one/pywerview/issues/68 + local temp_fix_limit="2025-02-01" + if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then + criticalecho "Temp fix expired. Exiting." + else + pipx install --system-site-packages git+https://github.com/the-useless-one/pywerview@pyproject + fi add-history pywerview add-test-command "pywerview --help" add-to-list "pywerview,https://github.com/the-useless-one/pywerview,A (partial) Python rewriting of PowerSploit's PowerView."