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
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Fix version and tests
six2dez294c7d3ae5da
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 773fe0b..43569c7 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -34,6 +34,11 @@ jobs:- name: Checkout codeuses: actions/checkout@v4+ with:+ fetch-depth: 0 # full history for git describe++ - name: Fetch tags+ run: git fetch --force --prune --tags- name: Install reconFTWshell: bashdiff --git a/install.sh b/install.shindex 35a72c3..4983bcd 100755--- a/install.sh+++ b/install.sh@@ -1,7 +1,9 @@#!/bin/bash# Safer bash defaults-set -Eeuo pipefail+set -o pipefail+set -E+set +eIFS=$'\n\t'# Detect if the script is being run in MacOS with Homebrew Bash@@ -448,9 +450,14 @@ function check_updates() {printf "%bRunning: Looking for new reconFTW version%b\n" "$bblue" "$reset"if { [[ -n "$TIMEOUT_CMD" ]] && $TIMEOUT_CMD 10 git fetch; } || git fetch; then- BRANCH=$(git rev-parse --abbrev-ref HEAD)- HEADHASH=$(git rev-parse HEAD)- UPSTREAMHASH=$(git rev-parse "${BRANCH}@{upstream}")+ BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "HEAD")+ HEADHASH=$(git rev-parse HEAD 2>/dev/null || true)+ # Skip auto-update if no upstream (detached HEAD or no tracking branch)+ if ! git rev-parse --abbrev-ref --symbolic-full-name @{u} >/dev/null 2>&1; then+ printf "%bNo upstream configured (detached HEAD). Skipping auto-update.%b\n" "$yellow" "$reset"+ return 0+ fi+ UPSTREAMHASH=$(git rev-parse "@{u}")if [[ $HEADHASH != "$UPSTREAMHASH" ]]; thenif git status --porcelain | grep -q .; then