From ce39bddc6677853b6c7294c96b9ffd342c26462a Mon Sep 17 00:00:00 2001 From: QU35T-code Date: Fri, 9 Feb 2024 10:16:18 +0100 Subject: [PATCH 1/4] Fix link to java11 binaries assets --- sources/install/package_base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/install/package_base.sh b/sources/install/package_base.sh index 7fddb1315..d6038bb4b 100644 --- a/sources/install/package_base.sh +++ b/sources/install/package_base.sh @@ -321,7 +321,7 @@ function install_java11() { criticalecho-noexit "This installation function doesn't support architecture $(uname -m)" && return fi local jdk_url - jdk_url=$(curl --location --silent "https://api.github.com/repos/adoptium/temurin11-binaries/releases/latest" | grep 'browser_download_url.*jdk_'"$arch"'_linux.*tar.gz"' | grep -o 'https://[^"]*') + jdk_url=$(curl --location --silent "https://api.github.com/repos/adoptium/temurin11-binaries/releases/tags/jdk-11.0.22%2B7" | grep 'browser_download_url.*jdk_'"$arch"'_linux.*tar.gz"' | grep -o 'https://[^"]*') curl --location -o /tmp/openjdk11-jdk.tar.gz "$jdk_url" tar -xzf /tmp/openjdk11-jdk.tar.gz --directory /tmp mkdir -p "/usr/lib/jvm" From fa0e9af8ba482ced5482f6f8d761ad78fb403608 Mon Sep 17 00:00:00 2001 From: QU35T-code Date: Fri, 9 Feb 2024 11:57:24 +0100 Subject: [PATCH 2/4] Increase temp fix limit for mobsf --- sources/install/package_mobile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/install/package_mobile.sh b/sources/install/package_mobile.sh index cb8f61fd0..e7ec3f7c7 100644 --- a/sources/install/package_mobile.sh +++ b/sources/install/package_mobile.sh @@ -100,7 +100,7 @@ function install_mobsf(){ cd /opt/tools/MobSF || exit # pipx --preinstall git+https://github.com/MobSF/yara-python-dex.git /opt/tools/MobSF would be needed for ARM64 # in the mean time, switching to manual venv and an alias for mobsf - local temp_fix_limit="2024-02-01" + local temp_fix_limit="2024-03-20" if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then criticalecho "Temp fix expired. Exiting." # check if pipx supports preinstall now else From 6b2fc27f311ecd79189689b8741caf74f4ee2e02 Mon Sep 17 00:00:00 2001 From: QU35T-code Date: Fri, 9 Feb 2024 18:26:15 +0100 Subject: [PATCH 3/4] Fix lief package version --- sources/install/package_reverse.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/install/package_reverse.sh b/sources/install/package_reverse.sh index 22465f36c..9a2bb2d9a 100644 --- a/sources/install/package_reverse.sh +++ b/sources/install/package_reverse.sh @@ -68,8 +68,8 @@ function install_checksec-py() { cd /opt/tools/checksec.py || exit python3 -m venv ./venv source ./venv/bin/activate - pip3 install . - pip3 install --upgrade lief + pip install . + pip install --upgrade lief==0.13.2 deactivate add-aliases checksec add-history checksec From 46b9d3546278f737f1cdc863ea8f45fd8f166bdd Mon Sep 17 00:00:00 2001 From: QU35T-code Date: Sun, 11 Feb 2024 19:48:40 +0100 Subject: [PATCH 4/4] Fix pretender test command --- sources/install/package_ad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/install/package_ad.sh b/sources/install/package_ad.sh index b9be4404f..39fd7e144 100644 --- a/sources/install/package_ad.sh +++ b/sources/install/package_ad.sh @@ -33,7 +33,7 @@ function install_pretender() { go install -v github.com/RedTeamPentesting/pretender@latest asdf reshim golang add-history pretender - add-test-command "pretender -h" + add-test-command "pretender --help |& grep pretender" add-to-list "pretender,https://github.com/RedTeamPentesting/pretender,an mitm tool for helping with relay attacks." }