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
cent integration
six2dez42a41d74e33a
diff --git a/install.sh b/install.shindex c64baa1..d3288ee 100755--- a/install.sh+++ b/install.sh@@ -77,6 +77,7 @@ declare -A gotools=(["sourcemapper"]="go install -v github.com/denandz/sourcemapper@latest"["jsluice"]="go install -v github.com/BishopFox/jsluice/cmd/jsluice@latest"["urlfinder"]="go install -v github.com/projectdiscovery/urlfinder/cmd/urlfinder@latest"+ ["cent"]="go install -v github.com/xm1k3/cent@latest")# Declare pipx tools and their paths@@ -311,6 +312,9 @@ function install_tools() {notify &>/dev/nullsubfinder &>/dev/nullsubfinder &>/dev/null+ mkdir -p ${NUCLEI_TEMPLATES_PATH} &>/dev/null+ cent init -f &>/dev/null+ cent -p ${NUCLEI_TEMPLATES_PATH} &>/dev/null# Handle failed installationsif [[ ${#failed_tools[@]} -ne 0 ]]; then@@ -535,15 +539,11 @@ function initial_setup() {# Nuclei Templatesif [[ ! -d ${NUCLEI_TEMPLATES_PATH} ]]; then#printf "${yellow}Cloning Nuclei templates...${reset}\n"- eval git clone https://github.com/projectdiscovery/nuclei-templates.git "${NUCLEI_TEMPLATES_PATH}" $DEBUG_STD- eval git clone https://github.com/geeknik/the-nuclei-templates.git "${NUCLEI_TEMPLATES_PATH}/extra_templates" $DEBUG_STDeval git clone https://github.com/projectdiscovery/fuzzing-templates ${tools}/fuzzing-templates $DEBUG_STD- eval nuclei -update-templates update-template-dir "${NUCLEI_TEMPLATES_PATH}" $DEBUG_STD- else- #printf "${yellow}Updating Nuclei templates...${reset}\n"eval git -C "${NUCLEI_TEMPLATES_PATH}" pull $DEBUG_STDeval git -C "${NUCLEI_TEMPLATES_PATH}/extra_templates" pull $DEBUG_STDeval git -C "${tools}/fuzzing-templates" pull $DEBUG_STD+ eval nuclei -update-templates update-template-dir "${NUCLEI_TEMPLATES_PATH}" $DEBUG_STDfi# sqlmapdiff --git a/reconftw.sh b/reconftw.shindex ece2a97..db4115f 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -233,6 +233,7 @@ function tools_installed() {["commix"]="commix"["urless"]="urless"["dnstake"]="dnstake"+ ["cent"]="cent")# Check for tool files@@ -2224,6 +2225,8 @@ function subtakeover() {cat webs/webs.txt webs/webs_uncommon_ports.txt 2>/dev/null | anew -q webs/webs_all.txtfi+ cent update -p ${NUCLEI_TEMPLATES_PATH} &>/dev/null+if [[ $AXIOM != true ]]; thenif ! nuclei -update 2>>"$LOGFILE" >/dev/null; thenprintf "%b[!] Failed to update nuclei.%b\n" "$bred" "$reset"@@ -3252,6 +3255,7 @@ function nuclei_check() {if { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $NUCLEICHECK == true ]]; thenstart_func "${FUNCNAME[0]}" "Templates-based Web Scanner"+ cent update -p ${NUCLEI_TEMPLATES_PATH} &>/dev/null# Update nuclei templatesnuclei -update 2>>"$LOGFILE" >/dev/null@@ -4995,6 +4999,8 @@ function fuzzparams() {URL_COUNT=$(wc -l <"webs/url_extract_nodupes.txt")if [[ $DEEP == true ]] || [[ $URL_COUNT -le $DEEP_LIMIT2 ]]; then+ cent update -p ${NUCLEI_TEMPLATES_PATH} &>/dev/null+if [[ $AXIOM != true ]]; thenprintf "${yellow}\n[$(date +'%Y-%m-%d %H:%M:%S')] Running: Nuclei Setup and Execution${reset}\n\n"