diff --git a/sources/install/package_ad.sh b/sources/install/package_ad.sh index 082d39a2..8c26fb39 100644 --- a/sources/install/package_ad.sh +++ b/sources/install/package_ad.sh @@ -1283,14 +1283,7 @@ 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 - # 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 + pipx install --system-site-packages git+https://github.com/the-useless-one/pywerview 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." diff --git a/sources/install/package_base.sh b/sources/install/package_base.sh index 09e74421..8680873f 100644 --- a/sources/install/package_base.sh +++ b/sources/install/package_base.sh @@ -450,7 +450,7 @@ function package_base() { colorecho "Starting main programs install" fapt man git lsb-release pciutils pkg-config zip unzip kmod gnupg2 wget \ libffi-dev zsh asciinema npm gem automake autoconf make cmake time gcc g++ file lsof \ - less x11-apps net-tools vim nano jq iputils-ping iproute2 tidy mlocate libtool \ + less x11-apps net-tools vim nano jq xq iputils-ping iproute2 tidy mlocate libtool \ dos2unix ftp sshpass telnet nfs-common ncat netcat-traditional socat rdate putty \ screen p7zip-full p7zip-rar unrar xz-utils xsltproc parallel tree ruby ruby-dev ruby-full bundler \ nim perl libwww-perl openjdk-17-jdk openvpn openresolv \ diff --git a/sources/install/package_osint.sh b/sources/install/package_osint.sh index 3f019d4b..fd7c8fab 100644 --- a/sources/install/package_osint.sh +++ b/sources/install/package_osint.sh @@ -468,8 +468,19 @@ function install_blackbird() { cd /opt/tools/blackbird || exit sed -i "s#data.json#/opt/tools/blackbird/data.json#" blackbird.py sed -i "s#useragents.txt#/opt/tools/blackbird/useragents.txt#" blackbird.py + dos2unix requirements.txt python3 -m venv --system-site-packages ./venv source ./venv/bin/activate + # spacy 3.8.2 uses blis 1.2.0 as dependency. This version of blis in the ARM architecture has issues during build. + local temp_fix_limit="2025-02-20" + if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then + criticalecho "Temp fix expired. Exiting." + else + if [[ $(uname -m) = 'aarch64' ]] + then + criticalecho-noexit "This installation function doesn't support architecture $(uname -m)" && return + fi + fi pip3 install -r requirements.txt deactivate add-aliases blackbird