Skip to content

Commit

Permalink
solving and snoozing tempfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ShutdownRepo committed Dec 12, 2024
1 parent d9d7532 commit 4eeec9b
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 26 deletions.
12 changes: 6 additions & 6 deletions sources/install/package_ad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function install_pypykatz() {
colorecho "Installing pypykatz"
# without following fix, tool raises "oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto"
# see https://github.com/wbond/oscrypto/issues/78 and https://github.com/wbond/oscrypto/issues/75
local temp_fix_limit="2024-12-01"
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
Expand Down Expand Up @@ -702,7 +702,7 @@ function install_pygpoabuse() {
pip3 install -r requirements.txt
# without following fix, tool raises "oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto"
# see https://github.com/wbond/oscrypto/issues/78 and https://github.com/wbond/oscrypto/issues/75
local temp_fix_limit="2024-12-01"
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
Expand Down Expand Up @@ -805,7 +805,7 @@ function install_pkinittools() {
pip3 install -r requirements.txt
# without following fix, tool raises "oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto"
# see https://github.com/wbond/oscrypto/issues/78 and https://github.com/wbond/oscrypto/issues/75
local temp_fix_limit="2024-12-01"
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
Expand Down Expand Up @@ -982,7 +982,7 @@ function install_ldaprelayscan() {
pip3 install -r requirements.txt
# without following fix, tool raises "oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto"
# see https://github.com/wbond/oscrypto/issues/78 and https://github.com/wbond/oscrypto/issues/75
local temp_fix_limit="2024-12-01"
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
Expand Down Expand Up @@ -1053,15 +1053,15 @@ function install_rusthound() {
# Sourcing rustup shell setup, so that rust binaries are found when installing cme
source "$HOME/.cargo/env"
# Temp fix for : https://github.com/NH-RED-TEAM/RustHound/issues/32
local temp_fix_limit="2024-12-07"
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
cargo update -p time
fi
cargo build --release
# Temp fix for : https://github.com/NH-RED-TEAM/RustHound/issues/32
local temp_fix_limit="2024-12-07"
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
Expand Down
2 changes: 1 addition & 1 deletion sources/install/package_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function install_go() {
#asdf install golang latest
#asdf global golang latest
# With golang 1.23 many package build are broken, temp fix to use 1.22.2 as golang latest
local temp_fix_limit="2024-12-01"
local temp_fix_limit="2025-06-01"
if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then
criticalecho "Temp fix expired. Exiting."
else
Expand Down
4 changes: 2 additions & 2 deletions sources/install/package_c2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function install_sliver() {
# function below will serve as a reminder to update sliver's version regularly
# when the pipeline fails because the time limit is reached: update the version and the time limit
# or check if it's possible to make this dynamic
local temp_fix_limit="2024-12-01"
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
Expand Down Expand Up @@ -143,7 +143,7 @@ function install_havoc() {
colorecho "Installing Havoc"
# git -C /opt/tools/ clone --depth 1 https://github.com/HavocFramework/Havoc
# https://github.com/HavocFramework/Havoc/issues/516
local temp_fix_limit="2024-12-01"
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
Expand Down
2 changes: 1 addition & 1 deletion sources/install/package_desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function install_xfce() {
fapt tigervnc-standalone-server tigervnc-xorg-extension tigervnc-viewer novnc websockify xfce4 dbus-x11 intltool libtool tigervnc-tools

# temp fix to use latest websockify (min 0.12.0 to fix fedora daemon issue) waiting for apt stable repo to be up-to-date
local temp_fix_limit="2024-12-01"
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
Expand Down
2 changes: 1 addition & 1 deletion sources/install/package_mobile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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-12-01"
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." # check if pipx supports preinstall now
else
Expand Down
2 changes: 1 addition & 1 deletion sources/install/package_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function install_wfuzz() {
mkdir /usr/share/wfuzz
git -C /tmp clone --depth 1 https://github.com/xmendez/wfuzz.git
# Wait for fix / PR to be merged: https://github.com/xmendez/wfuzz/issues/366
local temp_fix_limit="2024-12-01"
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
Expand Down
2 changes: 1 addition & 1 deletion sources/install/package_wifi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function install_pyrit() {
# steps to remove temp fix:
# 1. try to install pyrit with git clone + venv + setup.py install with python2 or 3 (without the git patch)
# 2. if it works, remove the temp fix (and probably the patch as well)
local temp_fix_limit="2024-12-01"
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
Expand Down
14 changes: 1 addition & 13 deletions sources/install/package_wordlists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,7 @@ function install_pass_station() {

function install_username-anarchy() {
colorecho "Installing Username-Anarchy"
#git -C /opt/tools/ clone --depth 1 https://github.com/urbanadventurer/username-anarchy
git -C /opt/tools/ clone https://github.com/urbanadventurer/username-anarchy
cd /opt/tools/username-anarchy || exit
# https://github.com/urbanadventurer/username-anarchy/pull/3
local temp_fix_limit="2025-04-01"
if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then
criticalecho "Temp fix expired. Exiting."
else
git config --local user.email "local"
git config --local user.name "local"
local prs=("3")
for pr in "${prs[@]}"; do git fetch origin "pull/$pr/head:pull/$pr" && git merge --strategy-option theirs --no-edit "pull/$pr"; done
fi
git -C /opt/tools/ clone --depth 1 https://github.com/urbanadventurer/username-anarchy
add-aliases username-anarchy
add-history username-anarchy
add-test-command "username-anarchy --help"
Expand Down

0 comments on commit 4eeec9b

Please sign in to comment.