Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Update install.sh

Luct0r2713658cff90
diff --git a/install.sh b/install.sh
index 0c3c5fe..7a64570 100755
--- a/install.sh
+++ b/install.sh
@@ -350,7 +350,7 @@ declare -A gotools=(
# Declare uv tool-managed Python tools and their GitHub paths
declare -A pipxtools=(
["dnsvalidator"]="vortexau/dnsvalidator"
- ["interlace"]="codingo/Interlace"
+ ["interlace"]="pry0cc/interlace"
["wafw00f"]="EnableSecurity/wafw00f"
["commix"]="commixproject/commix"
["waymore"]="xnl-h4ck3r/waymore"
@@ -480,6 +480,16 @@ function install_tools() {
tool_args+=("--with" "jellyfish>=1.1.3")
fi
+ # Special case for interlace: colorclass is abandoned and broken on Python 3.10+
+ # PR https://github.com/Robpol86/colorclass/pull/27 never merged
+ if [[ "$pipxtool" == "interlace" ]]; then
+ local cc_codes
+ cc_codes="$(dirname "$(uv tool run --from interlace python -c 'import colorclass; print(colorclass.__file__)')")/codes.py" 2>/dev/null
+ if [[ -f "$cc_codes" ]]; then
+ sed -i 's/from collections import Mapping/from collections.abc import Mapping/' "$cc_codes"
+ fi
+ fi
+
# Always force install/reinstall from the git URL
# This handles both initial install and upgrades correctly
if q uv tool install "${tool_args[@]}" "$tool_url" --force; then