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
set called_fn_dir in the second for loop.
ItsGudEnuffe970bb66bd8
diff --git a/reconftw_axiom.sh b/reconftw_axiom.shindex e18ed00..a617504 100755--- a/reconftw_axiom.sh+++ b/reconftw_axiom.sh@@ -1600,16 +1600,15 @@ function recon(){function multi_recon(){- global_start=`date +%s`+ global_start=$(date +%s)- if [ "$NOTIFICATION" = true ] ; then+ if [ "$NOTIFICATION" = true ]; thenNOTIFY="notify -silent"elseNOTIFY=""fi- if [ -s "$list" ]- then+ if [ -s "$list" ]; thentargets=$(cat $list)elsenotification "Target list not provided" error@@ -1617,7 +1616,8 @@ function multi_recon(){fiworkdir=$SCRIPTPATH/Recon/$multi- mkdir -p $workdir && cd $workdir+ mkdir -p $workdir || { echo "Failed to create directory '$workdir' in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }+ cd "$workdir" || { echo "Failed to cd directory '$workdir' in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }mkdir -p .tmp .called_fn osint subdomains webs hosts vulnsif [[ ! $(cat ~/.axiom/selected.conf | sed '/^\s*$/d' | wc -l) -gt 0 ]]@@ -1630,31 +1630,31 @@ function multi_recon(){dir=$workdir/targets/$domaincalled_fn_dir=$dir/.called_fnmkdir -p $dir- cd $dir+ cd "$dir" || { echo "Failed to cd directory '$dir' in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }mkdir -p .tmp .called_fn osint subdomains webs hosts vulnsdomain_infoemailsgoogle_dorksgithub_dorksmetadata+ zonetransfer+ faviconsubdomains_fullsubtakeover- zonetransferwebprobe_fullscreenshot- favicondone- cd $workdir+ cd "$workdir" || { echo "Failed to cd directory '$workdir' in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }notification "############################# Total data ############################" info- NUMOFLINES_users_total=$(find . -type f -name 'users.txt' -exec cat {} + | anew -q osint/users.txt | wc -l)- NUMOFLINES_pwndb_total=$(find . -type f -name 'passwords.txt' -exec cat {} + | anew -q osint/passwords.txt | wc -l)- NUMOFLINES_software_total=$(find . -type f -name 'software.txt' -exec cat {} + | anew -q osint/software.txt | wc -l)- NUMOFLINES_authors_total=$(find . -type f -name 'authors.txt' -exec cat {} + | anew -q osint/authors.txt | wc -l)- NUMOFLINES_subs_total=$(find . -type f -name 'subdomains.txt' -exec cat {} + | anew -q subdomains/subdomains.txt | wc -l)- NUMOFLINES_subtko_total=$(find . -type f -name 'takeover.txt' -exec cat {} + | anew -q webs/takeover.txt | wc -l)- NUMOFLINES_webs_total=$(find . -type f -name 'webs.txt' -exec cat {} + | anew -q webs/webs.txt | wc -l)- NUMOFLINES_webs_total=$(find . -type f -name 'webs_uncommon_ports.txt' -exec cat {} + | anew -q webs/webs_uncommon_ports.txt | wc -l)+ NUMOFLINES_users_total=$(find . -type f -name 'users.txt' -exec cat {} + | anew osint/users.txt | wc -l)+ NUMOFLINES_pwndb_total=$(find . -type f -name 'passwords.txt' -exec cat {} + | anew osint/passwords.txt | wc -l)+ NUMOFLINES_software_total=$(find . -type f -name 'software.txt' -exec cat {} + | anew osint/software.txt | wc -l)+ NUMOFLINES_authors_total=$(find . -type f -name 'authors.txt' -exec cat {} + | anew osint/authors.txt | wc -l)+ NUMOFLINES_subs_total=$(find . -type f -name 'subdomains.txt' -exec cat {} + | anew subdomains/subdomains.txt | wc -l)+ NUMOFLINES_subtko_total=$(find . -type f -name 'takeover.txt' -exec cat {} + | anew webs/takeover.txt | wc -l)+ NUMOFLINES_webs_total=$(find . -type f -name 'webs.txt' -exec cat {} + | anew webs/webs.txt | wc -l)+ NUMOFLINES_webs_total=$(find . -type f -name 'webs_uncommon_ports.txt' -exec cat {} + | anew webs/webs_uncommon_ports.txt | wc -l)notification "- ${NUMOFLINES_users_total} total users found" goodnotification "- ${NUMOFLINES_pwndb_total} total creds leaked" good@@ -1671,7 +1671,8 @@ function multi_recon(){nuclei_checkfor domain in $targets; dodir=$workdir/targets/$domain- cd $dir+ called_fn_dir=$dir/.called_fn+ cd "$dir" || { echo "Failed to cd directory '$kdir' in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }cms_scannerfuzzparams@@ -1680,7 +1681,9 @@ function multi_recon(){jscheckswordlist_gendone- cd $workdir+++ cd "$workdir" || { echo "Failed to cd directory '$workdir' in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }dir=$workdirdomain=$multiend