From aba5c458b1789c12b5f45fbc5c763f54ae6c9b6e Mon Sep 17 00:00:00 2001 From: n0mad1k Date: Sun, 12 Apr 2026 07:18:43 -0400 Subject: [PATCH] =?UTF-8?q?Revert=20all=20UA=20tagging=20changes=20?= =?UTF-8?q?=E2=80=94=20full=20rollback=20to=20pre-592=20state?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/attack-box/files/recon_automation.sh | 5 ++--- modules/attack-box/files/web_enum_automation.sh | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) mode change 100644 => 100755 modules/attack-box/files/recon_automation.sh mode change 100644 => 100755 modules/attack-box/files/web_enum_automation.sh diff --git a/modules/attack-box/files/recon_automation.sh b/modules/attack-box/files/recon_automation.sh old mode 100644 new mode 100755 index 59f8807..6e61da7 --- a/modules/attack-box/files/recon_automation.sh +++ b/modules/attack-box/files/recon_automation.sh @@ -11,8 +11,7 @@ if [ $# -eq 0 ]; then fi TARGET="$1" -BASE_DIR="${WORK_DIR:-${WORK_DIR:-/root/workspace}}" -WORKSPACE="$BASE_DIR/scans/reachability/$TARGET" +WORKSPACE="/root/dmealey/scans/reachability/$TARGET" DATE=$(date +%Y%m%d_%H%M%S) # Colors for output @@ -79,7 +78,7 @@ done < live_subdomains.txt # Vulnerability scanning with Nuclei echo -e "${GREEN}[+] Phase 7: Vulnerability Scanning${NC}" -log_and_run "Running Nuclei" "nuclei -l live_subdomains.txt -H 'User-Agent: ${NUCLEI_UA:-homelab-security-scan/nuclei}' -t ~/nuclei-templates/ -o nuclei_results.txt" +log_and_run "Running Nuclei" "nuclei -l live_subdomains.txt -t ~/nuclei-templates/ -o nuclei_results.txt" # Summary echo -e "${GREEN}[+] Reconnaissance Complete!${NC}" diff --git a/modules/attack-box/files/web_enum_automation.sh b/modules/attack-box/files/web_enum_automation.sh old mode 100644 new mode 100755 index d90cabb..609b1f3 --- a/modules/attack-box/files/web_enum_automation.sh +++ b/modules/attack-box/files/web_enum_automation.sh @@ -14,8 +14,7 @@ fi TARGET_URL="$1" # Extract domain/IP for workspace naming TARGET_CLEAN=$(echo "$TARGET_URL" | sed 's|https\?://||g' | sed 's|/.*||g' | tr ':' '_') -BASE_DIR="${WORK_DIR:-${WORK_DIR:-/root/workspace}}" -WORKSPACE="$BASE_DIR/scans/web/$TARGET_CLEAN" +WORKSPACE="/root/dmealey/scans/web/$TARGET_CLEAN" DATE=$(date +%Y%m%d_%H%M%S) # Colors for output @@ -91,7 +90,7 @@ log_and_run "Nikto scan" "nikto -h $TARGET_URL -o nikto_results.txt" # Nuclei web templates if command -v nuclei &> /dev/null; then - log_and_run "Nuclei web vulnerability scan" "nuclei -u $TARGET_URL -H 'User-Agent: ${NUCLEI_UA:-homelab-security-scan/nuclei}' -t ~/nuclei-templates/http/ -o nuclei_web_results.txt" + log_and_run "Nuclei web vulnerability scan" "nuclei -u $TARGET_URL -t ~/nuclei-templates/http/ -o nuclei_web_results.txt" fi # SSL/TLS testing (for HTTPS)