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
Dockerfile fix
six2dez41e0ca417247
diff --git a/Docker/Dockerfile b/Docker/Dockerfileindex 6b58c35..9a4fd08 100644--- a/Docker/Dockerfile+++ b/Docker/Dockerfile@@ -1,7 +1,6 @@# syntax=docker/dockerfile:1.4-# Specify a non-root user-FROM kalilinux/kali-rolling:trunk AS base_reconftw+FROM ubuntu:latest AS base_reconftwUSER nonrootuser# Add a healthcheck instruction@@ -17,14 +16,11 @@ ARG SHODAN_API_KEY="XXXXXXXXXXXXXX"ARG LANG=en_US.UTF-8ARG LANGUAGE=en_US-ARG GIT_REPOSITORY_AXIOM="https://github.com/pry0cc/axiom"-ARG GIT_REPOSITORY_RECONFTW="https://github.com/six2dez/reconftw"-#####################################################> Do NOT change anything beyond this point <#####################################################-FROM kalilinux/kali-rolling:trunk AS base+FROM ubuntu:latest AS baseLABEL org.label-schema.name='reconftw'LABEL org.label-schema.description='A simple script for full recon'@@ -40,8 +36,8 @@ ARG SHODAN_API_KEYARG LANGARG LANGUAGE-ARG GIT_REPOSITORY_AXIOM-ARG GIT_REPOSITORY_RECONFTW+ARG GIT_REPOSITORY_AXIOM="https://github.com/attacksurge/ax.git"+ARG GIT_REPOSITORY_RECONFTW="https://github.com/six2dez/reconftw"ENV COLLAB_SERVER=$COLLAB_SERVERENV XSS_SERVER=$XSS_SERVER@@ -72,15 +68,11 @@ set -x###>> Backup .bashrc <<###cp /root/.bashrc /root/original.bashrc-###>> Update Sources <<###-echo "deb http://kali.download/kali kali-rolling main contrib non-free" > /etc/apt/sources.list-echo "deb-src http://kali.download/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list-###>> System Configuration <<###apt clean allapt updateapt full-upgrade -f -y --allow-downgrades-apt install -y --no-install-recommends apt-utils ca-certificates curl git lsb-release nano wget vim jq htop nmon+apt install -y --no-install-recommends apt-utils ca-certificates curl git lsb-release nano wget vim jq htop net-tools dnsutils nmap python3 python3-pip unzip whois###>> Congifure Locales <<###apt install -y --no-install-recommends locales@@ -133,19 +125,29 @@ COPY notify.conf /root/.config/notify/notify.conf###>> Configure Axiom Provider <<###RUN <<eot###>> Regenerate SSH Keys <<###-# You REALLY do NOT want to use the default SSH keys in the base image-find /root/.ssh -type f -delete+apt update && apt install -y --no-install-recommends openssh-client++mkdir -p /root/.ssh+mkdir -p /root/.axiom/configs+ssh-keygen -b 2048 -t rsa -f /root/.ssh/axiom_rsa -q -N ""cat /root/.ssh/axiom_rsa.pub > /root/.axiom/configs/authorized_keys++apt remove --purge -y openssh-client && apt autoremove -y && apt clean all+find /var/lib/apt/lists -type f -delete+find /var/cache -type f -delete+find /var/log -type f -delete+find /tmp -type f -delete+rm -rf /root/.cacheeot-COPY axiom-config.ini /root/.axiom/configs/config.ini-COPY axiom-custom-provider.json /root/.axiom/accounts/personal.json+#COPY axiom-config.ini /root/.axiom/configs/config.ini+#COPY axiom-custom-provider.json /root/.axiom/accounts/personal.jsonRUN axiom-account personal-RUN az group delete --name axiom --yes --no-wait+# RUN az group delete --name axiom --yes --no-wait-# This command exits with return code 1, so leave the '|| :' or the build will fail.-COPY axiom-custom-provider.json /root/.axiom/accounts/personal.json+ # This command exits with return code 1, so leave the '|| :' or the build will fail.+# COPY axiom-custom-provider.json /root/.axiom/accounts/personal.jsonRUN axiom-build reconftw || :## Issue 271diff --git a/reconftw.sh b/reconftw.shindex b427e64..a3b6f97 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -2762,8 +2762,6 @@ function webprobe_full() {# Update webs_all.txtcat webs/webs.txt webs/webs_uncommon_ports.txt 2>/dev/null | anew -q webs/webs_all.txt- end_func "Results are saved in $domain/webs/webs_uncommon_ports.txt" "${FUNCNAME[0]}"-# Send to proxy if conditions metif [[ $PROXY == true ]] && [[ -n $proxy_url ]] && [[ $(wc -l <webs/webs_uncommon_ports.txt) -le $DEEP_LIMIT2 ]]; thennotification "Sending websites with uncommon ports to proxy" "info"